The supervise
tool from daemontools works very well for controlling a system
daemon. However, it would be useful to have a version that could be used by a
regular user for controlling a program running as them -- for example, an IRC
bot. The tool would behave much like the regular supervise
, but it'd need to
be able to start up if it's not already running (for example, from an @reboot
cron job), and it would need to be able to sanitise its environment since it
won't necessarily be started from svscan
. Such a tool could eventually
replace supervise
for system usage too.