Skip to content

Commit

Permalink
[IMP] debian,rpm: improve kill in service unit (thanks sbidoul)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-fence committed Oct 3, 2017
1 parent 6a66adf commit ee753bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/odoo.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions setup/redhat/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee753bf

Please sign in to comment.