monit-dev
[Top][All Lists]
Advanced

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

Re: monit monitor.h p.y validate.c


From: Jan-Henrik Haukeland
Subject: Re: monit monitor.h p.y validate.c
Date: 11 Nov 2002 21:09:40 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

Rory Toma <address@hidden> writes:

> I decided on a different tack over the weekend, but it will involve more
> work. Ultimately, I think it will be better.
> 
> I'm going to change how we start/stop processes. Instead of
> starting/stopping the process when we call start/stop/validate/etc, I'm
> going to make a few passes.
> 
> Pass 1) Mark all processes to be stopped/started
> Pass 2) Create 2 temporary processlists (stop/start) in the correct
> order
> Pass 3) Walk the two lists, starting and stopping.
> 
> Since control.c is modular, this should end up being pretty easy. It
> also allows for future integration of other features, I should think.

Sounds like a good idea to factor start/stop into one method where you
check for dependencies first. Good luck!

-- 
Jan-Henrik Haukeland




reply via email to

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