Sorry if this has been discussed before.  Only thing I could find related
was a short thread on running sshd with supervise.

I'm trying to supervise a daemon that forks and detaches itself from the
TTY, but supervise appears to be trying to restart it every second.  The
daemon I want to supervise has no switch to tell it not to detach from the
TTY, so is there anything I can do to use supervise with this daemon?

Also, what is the major factor in this scenario...is the problem that the
parent immediately forks, or that it detaches from the TTY.  It would seem
that supervise could simply watch the parent and restart it...so I'm
inclined to think the fork (without exit) isn't the real problem.  Am I
wrong?

--
  Jeff Carneal - Sys Admin - Apex Internet          
  [EMAIL PROTECTED] http://www.apex.net (502) 442-5363

  The opinions expressed above aren't really mine.
  They belong to someone else who also refuses to 
  take responsibility for them. 

Reply via email to