infra/scripts/tmux-persist-restore.service
Viktor Barzin e7fbf986fb workstation: rename tmux persistence out of the t3 namespace [ci skip]
Viktor's correction: this feature is about the tmux web-terminal
sessions, not t3 — t3 auto-saves its own threads (~/.t3 state +
daily t3-backup-state). Renamed t3-tmux-sessions -> tmux-persist
(units tmux-persist-save.timer / tmux-persist-restore.service, state
/var/lib/tmux-persist), header rescoped to say exactly that. Same
mechanism, correct taxonomy. Old units removed, state migrated,
re-verified live (5 emo + 3 wizard sessions snapshotted).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 17:42:52 +00:00

12 lines
393 B
Desktop File

[Unit]
Description=Restore workstation tmux sessions (resume saved claude conversations) after boot
After=network.target local-fs.target
# Before the save timer's first run (OnBootSec=10min) so an empty post-boot
# state can never be snapshotted over the manifest being restored from.
[Service]
Type=oneshot
ExecStart=/usr/local/bin/tmux-persist restore
[Install]
WantedBy=multi-user.target