diff --git a/setup/start/systemd/box.service b/setup/start/systemd/box.service index 132df9901..b355e6a67 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:*,-box:ldap,-box:oidcserver" "BOX_ENV=cloudron" "NODE_ENV=production" "LC_ALL=C" +Environment="HOME=/home/yellowtent" "USER=yellowtent" "DEBUG=box:*,-box:ldapserver,-box:directoryserver,-box:oidcserver" "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 diff --git a/src/ldapserver.js b/src/ldapserver.js index ed872e19d..18b95bab8 100644 --- a/src/ldapserver.js +++ b/src/ldapserver.js @@ -13,7 +13,7 @@ const addonConfigs = require('./addonconfigs.js'), AuditSource = require('./auditsource.js'), BoxError = require('./boxerror.js'), constants = require('./constants.js'), - debug = require('debug')('box:ldap'), + debug = require('debug')('box:ldapserver'), eventlog = require('./eventlog.js'), groups = require('./groups.js'), ldap = require('ldapjs'),