Only use "kill" as done in the upstream docs

https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecReload=
This commit is contained in:
Johannes Zellner
2023-01-09 20:18:51 +01:00
parent 144fc7b7be
commit 829d53915d
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=/bin/kill -HUP $MAINPID
ExecReload=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