1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreerp_ynh.git synced 2024-09-03 19:36:13 +02:00
libreerp_ynh/conf/odoo.service.j2

15 lines
296 B
Text
Raw Normal View History

2018-05-21 10:51:03 +02:00
[Unit]
Description=Odoo
After=network.target
[Service]
Type=simple
User=odoo
Environment=PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
2018-09-26 20:40:40 +02:00
ExecStart={{ bin_file }} --config {{ conf_file }} --logfile /var/log/odoo/odoo-server.log
2018-05-21 10:51:03 +02:00
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target