[wplug] Need suggestion on how to respawn/restart program
Robert E. Coutch
robert.coutch at verizon.net
Fri May 26 19:19:15 EDT 2006
I see our new server is pre-loaded with Plesk.
It seems to have a feature that monitors services.
I'll just have to figure out how to set it up.
Anyone have any comments on Plesk?
-Bob
On Thursday 25 May 2006 08:23 pm, Robert E. Coutch wrote:
> Hi all,
>
> 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?
>
>
> Thanks for any tips,
>
> Bob
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
More information about the wplug
mailing list