summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2017-09-21 08:46:26 +0200
committerChristophe Monniez <moc@odoo.com>2017-10-03 12:01:53 +0200
commitee753bfc223740b52cb36f14468f88b7befb7a72 (patch)
treec16ce67fe153028ff9671d23fd82d54d93eed15d
parent6a66adf395d108c22c18f3c8f893a150c24f7c3f (diff)
[IMP] debian,rpm: improve kill in service unit (thanks sbidoul)
-rw-r--r--debian/odoo.service1
-rw-r--r--setup/redhat/postinstall.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/debian/odoo.service b/debian/odoo.service
index 2d971ec3ae3..9654ce1c1bc 100644
--- a/debian/odoo.service
+++ b/debian/odoo.service
@@ -7,6 +7,7 @@ Type=simple
User=odoo
Group=odoo
ExecStart=/usr/bin/odoo --config /etc/odoo/odoo.conf --logfile /var/log/odoo/odoo-server.log
+KillMode=mixed
[Install]
WantedBy=multi-user.target
diff --git a/setup/redhat/postinstall.sh b/setup/redhat/postinstall.sh
index b78ee40f538..54b1b5cd56f 100644
--- a/setup/redhat/postinstall.sh
+++ b/setup/redhat/postinstall.sh
@@ -54,6 +54,7 @@ Type=simple
User=odoo
Group=odoo
ExecStart=/usr/bin/odoo --config $ODOO_CONFIGURATION_FILE --logfile $ODOO_LOG_FILE
+KillMode=mixed
[Install]
WantedBy=multi-user.target