Woof! On Fri, 14 Nov 2008 10:25:54 -0500, Beeton, Carolyn (CAR:9D60) <[EMAIL PROTECTED]> wrote:
> So I wrote a process defn file and a script for a supervisor watcher. > It is duly launched as a child process, but all it does is (in its > script) read from stdin. If shut down properly, it never does anything. > But if it returns from the read, then supervisor is gone: so it invokes > /etc/init.d/sipxpbx restart. (I extended OsProcessLinux to create a > stdin pipe). Well, that's a twist! The parent dies, the child starts up a new parent, which kills the orphan child as a previously running process, then creates a new child, repeat. Usually this is done with a top level monitoring script, or an entry in inittab with the respawn flag set. But your approach is novel and interesting. Worth persuing in my opinion. --Woof! _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
