Is there a good way for non-root users to start "managed" processes? In this case, I am using
managed" to describe a process that starts up when the user logs in, is monitored by some sort of process supervisor (like init
), restarted if it fails, and has its stdout/stderr logged somewhere automatically.
I have over time hacked together a few solutions on my own running something like runit or supervisor, but neither has been particularly well integrated into my desktop environment or the system in general. Is there a standard solution for this sort of thing?