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
Show parent comment
8
u/Lennartwareparty May 28 '16
Yes, because then people know it's intentional and can criticize you on bad design.
No one says that it's a feature, not a bug automatically makes it a good idea. But it does automatically make it a non bug.
No it doesn't? Being able to continue to run processes while logged out was one of the most powerful multi-processing features of Unix where users could log in, start a process, not hog the terminal for others while they go do something else and then come back when the process is finished. Being required to be logged in for the entire duration of that would be a terrible idea. HUP already exists explicitly to clean up processes that are not intentionally left running. This is very good design.
How session not software?
There is nothing 'cheating' about it, this was intentional and documented and downright necessary behaviour of Unix from the start.
nohupto avoid the HUP signal from being sent when you log out was made for this.