summaryrefslogtreecommitdiff
path: root/setup/redhat
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 /setup/redhat
parent6a66adf395d108c22c18f3c8f893a150c24f7c3f (diff)
[IMP] debian,rpm: improve kill in service unit (thanks sbidoul)
Diffstat (limited to 'setup/redhat')
-rw-r--r--setup/redhat/postinstall.sh1
1 files changed, 1 insertions, 0 deletions
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