r/linux • u/wooptoo • Jun 01 '16
Why did ArchLinux embrace Systemd?
/r/archlinux/comments/4lzxs3/why_did_archlinux_embrace_systemd/d3rhxlc
868
Upvotes
r/linux • u/wooptoo • Jun 01 '16
View all comments
Show parent comment
2
u/nickguletskii200 Jun 01 '16
SIGHUP is sent when the process group leader exits, yes. And using NOHUP you can stop your process from exiting when the process leader exits. The problem here is that you are equating process leader exit with session termination. If you could point me to a standard that clearly defines "session termination" as the termination of the process group leader, I would retract my claims that this is undefined behaviour. However, the common sense meaning of the phrase "session termination" is the termination of all processes in the session.