Add SIGHUP handler to reload certs

we have to reload directory server certs out of process
This commit is contained in:
Girish Ramakrishnan
2022-11-16 08:10:57 +01:00
parent 15d5dfd406
commit f82f533f36
3 changed files with 8 additions and 3 deletions
+1
View File
@@ -13,6 +13,7 @@ Type=idle
WorkingDirectory=/home/yellowtent/box
Restart=always
ExecStart=/home/yellowtent/box/box.js
ExecReload=/usr/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