Bob wrote:

> Is there any trick to running ntpd under daemontools? I tried
> it and created a standard run script, but the service kept dying.

The final line in my run script reads:

#v+

exec /usr/sbin/ntpd -n -l stdout -c /etc/ntp.conf 2>&1

#v-

The -n switch prevents ntpd from forking, and "-l stdout" makes ntpd
log to standard output so that the svlog (or similar) can catch it.

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/
_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers

Reply via email to