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

For systemd, migrate from killmode=none to control-group #109

Closed mattkatz closed 2 years ago

mattkatz commented 2 years ago

KillMode=None is deprecated and will be discontinued. control-group seems like the right choice in that it can kill all underlying services appropriately and then we can restart them when the tmux service is restarted.

bruno- commented 2 years ago

Looping @nuclearglow in as he's the maintainer of systemd files

nuclearglow commented 2 years ago

I agree. from the spec it seems that None is not recommended. https://www.freedesktop.org/software/systemd/man/systemd.kill.html