Starting NTP Development Discussion

This is where we discuss and debate what goes in StartingNTP.

Setting the clock before starting.

It has been suggested that ntpd -gq ; ntpd is not the best way to start ntpd. Since the -g option allows a single step operation and requires that ntp halt rather than do another step if another is needed, it seems to me that quitting after setting the clock and restarting without restrictions is a good, if not the best, way to do it.

-- RichardBGilbert - 16 Sep 2004

ntp will not halt if another step is needed, unless the step is greater than SANITY (1000, by default) seconds.

The only reason to separate into the two steps you describe is if you want to use a different configuration file for startup and runtime.

Otherwise, there is no functional difference between ntpd -gq ; ntpd and ntpd -g.

(And remember about iburst and -N, at least. But those are described in the main topic.)

-- HarlanStenn - 16 Sep 2004

This topic: Support > WebHome > StartingNTP > StartingNTPDev
Topic revision: r2 - 2004-09-16 - 20:25:00 - HarlanStenn
SSL security by CAcert
Get the CAcert Root Certificate
This site is powered by the TWiki collaboration platform
IPv6 Ready
Copyright & 1999-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding the site? Send feedback