monit-dev
[Top][All Lists]
Advanced

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

Re: Dependecies


From: Jan-Henrik Haukeland
Subject: Re: Dependecies
Date: 21 Sep 2002 19:46:49 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

Rory Toma <address@hidden> writes:

> I'm having one little difficulty.
> 
> When I stop dependant processes, I call stop_process.
> 
> Now, when the main process starts (via start_process), instead of
> calling start_process, I set the do->validate flag to true. However,
> this does not seem to work. Is there something else you have to do to
> set a process as restartable?

It should work _if_ you do it in the monit daemon process, if you do
it from a client process, you should call the dstart_process which
speaks with the daemon and makes the daemon set the do->validate flag.

You should probably also explicit start the process instead of waiting
for the next poll cycle and monit to validate the process again.

-- 
Jan-Henrik Haukeland




reply via email to

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