r/linux • u/rain5 • May 28 '16
systemd developer asks tmux (and other programs) to add systemd specific code
https://github.com/tmux/tmux/issues/428
359
Upvotes
r/linux • u/rain5 • May 28 '16
View all comments
70
u/ShadowPouncer May 29 '16
This is one of those things which really has good arguments both ways.
If I'm running a desktop session, and I log out of that session, with few exceptions nothing should be left running.
If I start up a terminal instance, and I put things into the background, run them under screen or tmux, run them with nohup, or just start a daemon as my own user, those things should NOT be killed when I close the terminal or when I log out.
And even more so if I login via ssh.
tmux and screen are mildly special, however I would strongly argue that anything launched from an interactive terminal session should be treated as equally 'special' by systemd.
This is only problematic because you can start a terminal session from your desktop session, and that might need to involve some systemd/PAM hooks in the terminal emulator of your choice.
But stop treating everything like a bloody graphical desktop systemd.