help-cfengine
[Top][All Lists]
Advanced

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

Re: cfservd not creating cfservd.pid


From: Ed Brown
Subject: Re: cfservd not creating cfservd.pid
Date: Tue, 17 Jan 2006 16:16:48 -0700

On Tue, 2006-01-17 at 16:13 -0500, PAUL WILLIAMSON wrote:

> I'm just having a hard time letting go of the 
> /etc/init.d/<processname> (in this case cfenvd or cfservd) mentality 
> to managing the process for cfengine.

Don't let go!  It's not unreasonable to expect to manage cfengine
processes like other processes, whatever the OS (as opposed to using
rc.local, for example).  I think it would be great if cfservd and cfenvd
'played nice' and put pid's in /var/run, on approriate OS's, if that's
not a posixly kind of thing to do everywhere.   Init scripts sometimes
get around the lack of a pid by calling 'pidof'.  Shouldn't need to
write your own init script though.  Just ask, either Google, or here.

-Ed





reply via email to

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