mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-02 13:39:41 +02:00
fix: prevent systemd from killing screen sessions on service restart
Default KillMode=control-group kills all processes in the cgroup, including spawned GNU screen sessions. KillMode=process only kills the node server, allowing screens to survive restarts and be reattached via reconcileScreens(). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,7 @@ WorkingDirectory=/home/arkon/default/claudeman
|
||||
ExecStart=/usr/bin/node dist/index.js web --https
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
KillMode=process
|
||||
Environment=NODE_ENV=production
|
||||
Environment=HOME=/home/arkon
|
||||
|
||||
|
||||
Reference in New Issue
Block a user