[ntp:questions] Finding out where ntpd gets its ntp.conf file

Joseph Gwinn joegwinn at comcast.net
Thu Sep 11 03:43:59 UTC 2008


In article <a6WdnXY1gfe4FVXVnZ2dnUVZ_gudnZ2d at megapath.net>,
 hal-usenet at ip-64-139-1-69.sjc.megapath.net (Hal Murray) wrote:

> >I'm not a sysadmin, but am digging into service.  I don't recall that 
> >the service man page was that helpful, but will look again.
> 
> service is mostly a shortcut to save typing.  If you think it is getting
> in your way, run /etc/init.d/ntpd <whatever> by hand.  (It also
> fixes up environment and cd-ed directory and whatever.)

Yes.  This is what we did to prove that NTP really could generate 
loopstats and peerstats.


> The -x command to bash will print each line as it gets expanded
> and executed.  So you might try something like:
>   bash -x /etc/init.d/ntpd start
> to see what is really going on.

Another good idea to try.

Thanks,

Joe




More information about the questions mailing list