diff --git a/setup/start/systemd/box.service b/setup/start/systemd/box.service index d1cc92c36..2e70d5796 100644 --- a/setup/start/systemd/box.service +++ b/setup/start/systemd/box.service @@ -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 diff --git a/setup/start/systemd/unbound.service b/setup/start/systemd/unbound.service index 1515e5cf6..73f2ca72a 100644 --- a/setup/start/systemd/unbound.service +++ b/setup/start/systemd/unbound.service @@ -9,7 +9,7 @@ Wants=network-online.target nss-lookup.target [Service] PIDFile=/run/unbound.pid ExecStart=/usr/sbin/unbound -d -ExecReload=/bin/kill -HUP $MAINPID +ExecReload=kill -HUP $MAINPID Restart=always # On ubuntu 16, this doesn't work for some reason Type=notify