monit-dev
[Top][All Lists]
Advanced

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

Re: Dependecies


From: Rory Toma
Subject: Re: Dependecies
Date: 20 Sep 2002 15:31:13 -0700

BTW, the one problem with having 

depend b c

and not having in b
depend c

is that if b dies, it does not (easily) know that it needs to stop c. I
don't think I'm a good enough programmer to implement that cleanly, so
while I may clean up the syntax, if you want c to restart when either a
or b dies, it needs to be encapsulated in the monitrc file.

On Fri, 2002-09-20 at 15:16, Jan-Henrik Haukeland wrote:
> Rory Toma <address@hidden> writes:
> 
> > I believe that this is more flexible, takes advantage of things monit
> > already does, and adds the least amount of code and complexity to the
> > existing code. (I.e. I spent some amount of time figuring out how to get
> > this in with the least amount of code)
> 
> That was some very good arguments :-) One request though, if not
> implemented, could you do: 'depend b c' as well?
> 
> -- 
> Jan-Henrik Haukeland
> 
> 
> _______________________________________________
> monit-dev mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/monit-dev
> 
-- 
Rory Toma               address@hidden
VP of Run Level 5       http://www.trs80.net
Digeo Digital           http://www.digeo.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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