[Top][All Lists]

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

Re: cfservd dying

From: Nate Campi
Subject: Re: cfservd dying
Date: Thu, 13 Mar 2003 08:46:32 -0800
User-agent: Mutt/1.3.28i

On 12 Mar, Ryan Anderson wrote:
> While I haven't done this with cfservd yet, you could wrap cfservd in
> /etc/inittab with the 'respawn' option so that it will respawn the
> process if it ever dies. Anyone try this with cfservd? Any problems with
> it?

I'd hesitate to use init, when daemontools is available:

$ cat /service/cfservd/run
exec 2>&1
exec /usr/local/sbin/cfservd -F

$ cat /service/cfservd/log/run
exec setuidgid nobody multilog t ./main

...or do what Mark said and just have cfagent start it. Using
daemontools with logging like this will capture any STDOUT/STDERR output
in the multilog logfile and will help with debugging.
Nate Campi 

reply via email to

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