monit-general
[Top][All Lists]
Advanced

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

Re: restart program


From: Marshal Newrock
Subject: Re: restart program
Date: Wed, 7 Feb 2007 15:58:11 -0500

On Wed, 07 Feb 2007 21:41:11 +0100
Marcus Mülbüsch <address@hidden> wrote:

>  > Gentoo also provides "zap" to reset a service to stopped in its
>  > cache, but that's probably a bit more than monit can be expected
>  > to address.
> 
> Use:
> 
> start program = "/etc/init.d/vixie-cron zap start"
> stop program = "/etc/init.d/vixie-cron stop zap"
> 
> and even restarts work like a charm.
> 
> Some problems remain when a process leaves a pid file, and your
> restart attempts reach the timeout limit before the pid file is
> removed. But that seems hardly a monit problem.

That never occurred to me.  I'll have to do that.  Thanks.

This might be a useful thing to put in the FAQ.

-- 
Marshal Newrock, Ideal Solution LLC
http://www.idealso.com




reply via email to

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