Files
clide/deploy/clide-web.service
T
jpmschweitzerandClaude Opus 4.6 91703e2d11 Harden service restart and disable Zellij UI artifacts
Service: add TimeoutStopSec=5 and SendSIGKILL=yes so restarts don't
hang on stubborn claude processes. Reduce RestartSec to 3s.

Zellij: disable session serialization, release notes, and splash screen
so sessions always start fresh with the bare layout.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 01:19:40 +01:00

34 lines
941 B
Desktop File

[Unit]
Description=Clide Web Terminal (ttyd + zellij)
After=network.target
[Service]
Type=simple
User=jpmschweitzer
Group=jpmschweitzer
WorkingDirectory=/mnt/media/Projects
# ttyd options:
# -p 8888 : Port (same as Jupyter was using)
# -W : Writable (allows input)
# -a : Allow URL arguments (passes ?project=X as command arg)
# -t fontSize=14: Terminal font size
ExecStart=/usr/local/bin/ttyd -p 8888 -W -a -t fontSize=14 /usr/local/bin/clide-launcher
# Kill all child processes (ttyd → zellij → clide → claude)
KillMode=control-group
KillSignal=SIGTERM
TimeoutStopSec=5
SendSIGKILL=yes
Restart=on-failure
RestartSec=3
# Environment for 256-color + truecolor
Environment="TERM=xterm-256color"
Environment="COLORTERM=truecolor"
Environment="PATH=/home/jpmschweitzer/.nvm/versions/node/v24.11.0/bin:/usr/local/bin:/mnt/media/Projects/clide/.venv/bin:/usr/bin:/bin"
[Install]
WantedBy=multi-user.target