diff --git a/setup/start/systemd/box.service b/setup/start/systemd/box.service index 4fd00d424..479caf043 100644 --- a/setup/start/systemd/box.service +++ b/setup/start/systemd/box.service @@ -14,7 +14,7 @@ WorkingDirectory=/home/yellowtent/box Restart=always ; Systemd does not append logs when logging to files, we spawn a shell first and exec to replace it after setting up the pipes ExecStart=/bin/sh -c 'echo "Logging to /home/yellowtent/platformdata/logs/box.log"; exec /usr/bin/node /home/yellowtent/box/box.js >> /home/yellowtent/platformdata/logs/box.log 2>&1' -Environment="HOME=/home/yellowtent" "USER=yellowtent" "DEBUG=box*,connect-lastmile" "BOX_ENV=cloudron" "NODE_ENV=production" +Environment="HOME=/home/yellowtent" "USER=yellowtent" "DEBUG=box:*,connect-lastmile,-box:ldap" "BOX_ENV=cloudron" "NODE_ENV=production" ; kill apptask processes as well KillMode=control-group ; Do not kill this process on OOM. Children inherit this score. Do not set it to -1000 so that MemoryMax can keep working