Files
Codeman/scripts/claudeman-web.service
T
arkonandClaude Opus 4.5 973358859f 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>
2026-01-24 19:37:39 +01:00

25 lines
450 B
Desktop File

[Unit]
Description=Claudeman Web Server (HTTPS)
After=network.target
[Service]
Type=simple
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
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=claudeman
# Resource limits
LimitNOFILE=65536
[Install]
WantedBy=default.target