At first glance, this looks like the process watchdog I've been waiting for. Very neat approach to configuration, smart defaults etc. I especially like the idea of automatically redirecting stdout and stderr to out and err files in the working directory.
Thanks. I've been looking for something like this for a long time, and I've implemented around 3 different solutions for doing this (pure bash, python, c) but none has been as instantly useful as this.
I wanted something like DJBs daemontools but with less configuration and setup. And I've seen nohup, daemonize etc. But these loose ownership of the running process, and you eventually have to do hacks if you want to do stuff like auto restart or signal degradation.
Comments
At first glance, this looks like the process watchdog I've been waiting for. Very neat approach to configuration, smart defaults etc. I especially like the idea of automatically redirecting stdout and stderr to out and err files in the working directory.
Thanks. I've been looking for something like this for a long time, and I've implemented around 3 different solutions for doing this (pure bash, python, c) but none has been as instantly useful as this.
I wanted something like DJBs daemontools but with less configuration and setup. And I've seen nohup, daemonize etc. But these loose ownership of the running process, and you eventually have to do hacks if you want to do stuff like auto restart or signal degradation.