mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
14 lines
296 B
Django/Jinja
14 lines
296 B
Django/Jinja
[Unit]
|
|
Description=Odoo
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=odoo
|
|
Environment=PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
|
|
ExecStart={{ bin_file }} --config {{ conf_file }} --logfile /var/log/odoo/odoo-server.log
|
|
Restart=always
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|