Revert "Only use "kill" as done in the upstream docs"

This reverts commit 829d53915d.

This breaks on Ubuntu 18

systemd[1]: /etc/systemd/system/unbound.service:12: Executable path is not absolute: kill -HUP $MAINPID
This commit is contained in:
Girish Ramakrishnan
2023-03-29 11:18:44 +02:00
parent 00767d583c
commit 928e61e0f6
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ Type=idle
WorkingDirectory=/home/yellowtent/box
Restart=always
ExecStart=/home/yellowtent/box/box.js
ExecReload=kill -HUP $MAINPID
ExecReload=/bin/kill -HUP $MAINPID
; we run commands like df which will parse properly only with correct locale
Environment="HOME=/home/yellowtent" "USER=yellowtent" "DEBUG=box:*,connect-lastmile,-box:ldap" "BOX_ENV=cloudron" "NODE_ENV=production" "LC_ALL=C"
; kill apptask processes as well