daemondo is not restarting processes that die

markd at macports.org markd at macports.org
Thu Oct 25 11:51:48 PDT 2007


James Berry <jberry at macports.org> writes:
>I've added some additional logging at level 1 that should make clear
>when the process dies, as well as a couple of other cases (receipt of  
>SIGHUP and SIGTERM).
>
>Let me know if that helps: r30335.

It looks great.  Here is the logging that now happens when I kill my perl
script daemon:

2007-10-25 11:44:51 nedimonitor: Starting process
2007-10-25 11:44:51 nedimonitor: Target process id is 18910
2007-10-25 11:45:21 nedimonitor: Target process pid 18910 has died.
2007-10-25 11:45:21 nedimonitor: Starting process
2007-10-25 11:45:21 nedimonitor: Target process id is 18925

I can't thank you enough for the work on daemondo.  For a lightweight
network monitoring script, it is the difference between something I can
rely on and something I can't.

Mark



More information about the macports-dev mailing list