diff --git a/setup/start/systemd/box.service b/setup/start/systemd/box.service index 91325d653..89f081e0a 100644 --- a/setup/start/systemd/box.service +++ b/setup/start/systemd/box.service @@ -17,7 +17,7 @@ ExecStart=/home/yellowtent/box/box.js ExecReload=/bin/kill -HUP $MAINPID ; we run commands like df which will parse properly only with correct locale ; add "oidc-provider:*" to DEBUG for OpenID debugging -Environment="HOME=/home/yellowtent" "USER=yellowtent" "DEBUG=box:*,@cloudron/connect-lastmile,-box:ldap" "BOX_ENV=cloudron" "NODE_ENV=production" "LC_ALL=C" +Environment="HOME=/home/yellowtent" "USER=yellowtent" "DEBUG=box:*,-box:ldap" "BOX_ENV=cloudron" "NODE_ENV=production" "LC_ALL=C" ; this sends the main process SIGTERM and then if anything lingers to the control-group . this is also the case if the main process crashes. ; the box code handles SIGTERM and cleanups the tasks KillMode=mixed