From 144fc7b7bed4b52aeb389eb6fdbe82861d8daf32 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 9 Jan 2023 20:12:30 +0100 Subject: [PATCH] Ubuntu 18 does not have /usr/bin/kill --- setup/start/systemd/box.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/start/systemd/box.service b/setup/start/systemd/box.service index 7b67e1133..d1cc92c36 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=/usr/bin/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