tmux-plugins / tmux-continuum

Continuous saving of tmux environment. Automatic restore when tmux is started. Automatic tmux start when computer is turned on.
MIT License
3.31k stars 149 forks source link

Improve systemd enable script #102

Closed mattkatz closed 2 years ago

mattkatz commented 2 years ago

In trying to use continuum on ubuntu 21.10 I had 2 major problems the attempt to write the tmux.service file was to a directory that hadn't been created. I default to creating the path before we write, which should prevent this issue for others.

enabling the tmux service failed with a note about the KillMode - I've switched to control-group which I think makes sense.

mattkatz commented 2 years ago

No worries, I have opened https://github.com/tmux-plugins/tmux-continuum/pull/109 to deal with the deprecation of KillMode=none