Re:Systemd, ten years later: a historical and technical retr...
by ttctciyf on Monday May 04, 2020 @05:32AM
(#23066040)
> "what is the technically correct way, in the systemd world, of implementing this functionality?"
In the case of terminating programs left running in an ssh shell by a logged out user, it's a pretty simple answer IMO: just leave it alone - if the admin of the ssh server wants to terminate user processes on logout I think that's where the burden should lie and there's no good reason for systemd to get involved, that I can see.
How about we give them some benefit of the doubt, that they are mostly trying to make things better, and instead ask them "what is the technically correct way, in the systemd world, of implementing this functionality?"
I suspect the answer, for screen, would probably require some degree of messing with the user manager daemon.