|
From: | Tim Nelson |
Subject: | Re: Killed wrong proc! |
Date: | Wed, 29 Sep 2004 12:18:37 +1000 (EST) |
On Tue, 28 Sep 2004, Chip Seraphine wrote:
On Tuesday 28 September 2004 14:28, Ted Zlatanov wrote:It would be very nice if cfengine supported "services" in addition to "processes." In standard Unix terms, it seems that 90% of the cases would be covered with the /etc/init.d directory (things like daemontools do their own monitoring). Maybe it could be an option to a "processes:" entry, "this is restarted with $SCRIPT stop; $SCRIPT start" and no signals are necessary?That would indeed rock well. A "nosig" option that still executes the "restart" line would accomplish something similar...
Hmm. I think Redhat wants you to use "service httpd start" or whatever. There are also a variety of other actions, such as reload and status which could be useful. However, unfortunately, the whole thing is pretty non-standardised :).
:) -- Tim Nelson Server Administrator WebAlive Technologies Global Level 1 Innovation Building, Digital Harbour 1010 LaTrobe StreetDocklands, Melbourne, Vic, 3008
Phone: +61 3 9934 0812 Fax: +61 3 9934 0899 E-mail: tim.nelson@webalive.biz http://www.webalive.biz/
[Prev in Thread] | Current Thread | [Next in Thread] |