infra/scripts/tmux-persist-restore.service

13 lines
393 B
SYSTEMD
Raw Normal View History

[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