[wplug] Need suggestion on how to respawn/restart program
Robert E. Coutch
robert.coutch at verizon.net
Thu May 25 22:08:55 EDT 2006
Thanks - I'm looking at it now.
I found something called monit on my SuSE system at home.
FYI - The box I need to do this with is running FC4.
-Bob
On Thursday 25 May 2006 08:44 pm, Eric Cooper wrote:
> On Thu, May 25, 2006 at 08:23:12PM -0400, Robert E. Coutch wrote:
> > Normally when I want a program to run and never die I just put it
> > into inittab as a respawn.
> >
> > I would like something I can have a bit more control over.
> > I want to be able to control a program (start/stop) but also have it
> > automatically restart if it dies.
> >
> > Similar to FireDeamon (on Windows) does.
> >
> > I'm sure I could do an init script for the start/stop but how should
> > the auto restart be done? Monitor the PID?
> >
> > Perhaps there is already an easy solution out there?
>
> I haven't used this myself, but it looks like it fits the bill:
> http://www.libslack.org/daemon/
> (It's available in Debian as "daemon".)
More information about the wplug
mailing list