Klaus Alexander Seistrup wrote: > 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, > > I created a run script exactly like yours (except I didn't do -l stdout since I have a multilog set up and it does work. I still get the same error, which makes no sense to me:
2 Oct 10:02:25 ntpd[26814]: parent died before we finished, exiting 2 Oct 10:02:25 ntpd[26816]: crypto_setup: random seed file not found My run file is simply #! /bin/sh exec 2>&1 #v+ exec ntpd -n #v- From the log I see that svscan found the ntpd binary and conf files. I can't understand why the process keeps dying. Bob _______________________________________________ timekeepers mailing list [email protected] https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers
