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>
This commit is contained in:
@@ -15,8 +15,14 @@ WorkingDirectory=/mnt/media/Projects
|
|||||||
# -t fontSize=14: Terminal font size
|
# -t fontSize=14: Terminal font size
|
||||||
ExecStart=/usr/local/bin/ttyd -p 8888 -W -a -t fontSize=14 /usr/local/bin/clide-launcher
|
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
|
Restart=on-failure
|
||||||
RestartSec=10
|
RestartSec=3
|
||||||
|
|
||||||
# Environment for 256-color + truecolor
|
# Environment for 256-color + truecolor
|
||||||
Environment="TERM=xterm-256color"
|
Environment="TERM=xterm-256color"
|
||||||
|
|||||||
@@ -417,7 +417,7 @@ pane_frames false
|
|||||||
// - true (default)
|
// - true (default)
|
||||||
// - false
|
// - false
|
||||||
//
|
//
|
||||||
// session_serialization false
|
session_serialization false
|
||||||
|
|
||||||
// Whether pane viewports are serialized along with the session, default is false
|
// Whether pane viewports are serialized along with the session, default is false
|
||||||
// Options:
|
// Options:
|
||||||
@@ -515,7 +515,7 @@ show_startup_tips false
|
|||||||
// Whether to show release notes on first version run
|
// Whether to show release notes on first version run
|
||||||
// Default: true
|
// Default: true
|
||||||
//
|
//
|
||||||
// show_release_notes false
|
show_release_notes false
|
||||||
|
|
||||||
// Whether to enable mouse hover effects and pane grouping functionality
|
// Whether to enable mouse hover effects and pane grouping functionality
|
||||||
// default is true
|
// default is true
|
||||||
|
|||||||
Reference in New Issue
Block a user