summarylogtreecommitdiffstats
path: root/odoo.service
diff options
context:
space:
mode:
Diffstat (limited to 'odoo.service')
-rw-r--r--odoo.service13
1 files changed, 4 insertions, 9 deletions
diff --git a/odoo.service b/odoo.service
index 70020fd4ace1..805152936b2e 100644
--- a/odoo.service
+++ b/odoo.service
@@ -1,18 +1,13 @@
[Unit]
-Description=Advanced OpenSource ERP and CRM server
-
+Description=Odoo Open Source ERP and CRM
+After=network.target
[Service]
Type=simple
-PermissionsStartOnly=true
-EnvironmentFile=-/etc/conf.d/odoo
User=odoo
Group=odoo
-SyslogIdentifier=Odoo
-PIDFile=/run/odoo/odoo.pid
-ExecStartPre=/usr/bin/install -d -m755 -o odoo -g odoo /run/odoo
-ExecStart=/usr/bin/odoo -c $ODOO_CONF --pidfile=/run/odoo/odoo.pid $ODOO_ARGS
-ExecStop=/bin/kill $MAINPID
+ExecStart=/usr/bin/odoo --config /etc/odoo/odoo.conf --logfile /var/log/odoo/odoo-server.log
+KillMode=mixed
[Install]
WantedBy=multi-user.target