3 ms·
How do you persist sessions between reboots?
by jdormit 10y ago
How do you persist sessions between reboots?
- bigtunacan 10y agoThe session doesn't actually persist between boots. I think what the parent must be referring to is the ability to create tmux session configurations. Then after a reboot if you try to connect to the session which no longer exists the conf will spin it up for you.
- jdormit 10y agoGotcha. I'll have to look up some docs on that, sounds useful.
- balac 10y agoYeah, I use https://github.com/tmux-plugins/tmux-continuum https://github.com/tmux-plugins/tmux-continuum to auto save sessions, and https://github.com/tmux-plugins/tmux-resurrect https://github.com/tmux-plugins/tmux-resurrect to restore them when tmux is started.
- ethagnawl 10y agoI haven't used it, but there's a plugin which allows for this behavior: https://github.com/tmux-plugins/tmux-resurrect https://github.com/tmux-plugins/tmux-resurrect