Skip to content

Commit ee753bf

Browse files
committed
[IMP] debian,rpm: improve kill in service unit (thanks sbidoul)
1 parent 6a66adf commit ee753bf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

debian/odoo.service

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Type=simple
77
User=odoo
88
Group=odoo
99
ExecStart=/usr/bin/odoo --config /etc/odoo/odoo.conf --logfile /var/log/odoo/odoo-server.log
10+
KillMode=mixed
1011

1112
[Install]
1213
WantedBy=multi-user.target

setup/redhat/postinstall.sh

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Type=simple
5454
User=odoo
5555
Group=odoo
5656
ExecStart=/usr/bin/odoo --config $ODOO_CONFIGURATION_FILE --logfile $ODOO_LOG_FILE
57+
KillMode=mixed
5758
5859
[Install]
5960
WantedBy=multi-user.target

0 commit comments

Comments
 (0)