[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Check if a process is running

From: Jan-Henrik Haukeland
Subject: Re: [monit] Check if a process is running
Date: Mon, 25 May 2009 09:42:25 +0200

On 25. mai. 2009, at 09.35, Eric Pailleau wrote:

A solution with a wrapper script is given, but be aware that in pidfile is the PID of the wrapper script : if your program crashe (and not the wrapper), monit will still see a living PID and do nothing.

Actually not since the wrapper script uses exec, the program started will take "over" the process of the script.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]