Originally posted by F.Ultra
View Post
The proper solution would be to have as much as possible in a helper daemon which PID 1 knows to restart if you kill it. (Sort of like how X11 desktops learned to split the anchor process for your X11 session lifespan from the window manager or whatever else originally served to hold the session open.)
It'd also enable live updating of all the code in the helper daemon as long as the interface between it and PID 1 was designed with stability in mind. Just update systemd and then ask the helper daemon to exit so PID 1 can "revive" the new version.
Comment