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
|