chrony.conf(5) Configuration Files chrony.conf(5)
NAME chrony.conf - chronyd configuration file
DESCRIPTION chrony is a pair of programs for maintaining the accuracy of computer clocks. chronyd is a background daemon program that can be started at boot time.
Assuming that you have found some servers, you need to set up a config- uration file to run chrony. The (compiled-in) default location for this file is /etc/chrony.conf. Assuming that your NTP servers are called foo.example.net , bar.example.net and baz.example.net, your chrony.conf file could contain as a minimum
server foo.example.net server bar.example.net server baz.example.net
However, you will probably want to include some of the other directives described in detail in the documentation supplied with the distribution (chrony.txt and chrony.texi). The following directives may be particu- larly useful : driftfile, makestep, rtcsync. Also, the iburst server option is useful to speed up the initial synchronization. The smallest useful configuration file would look something like
server foo.example.net iburst server bar.example.net iburst server baz.example.net iburst driftfile /var/lib/chrony/drift makestep 10 3 rtcsync
When using a pool of NTP servers (one name is used for multiple servers which may change over time), its better to specify them with the pool directive instead of multiple server directives. The configu- ration file could in this case look like
pool pool.ntp.org iburst driftfile /var/lib/chrony/drift makestep 10 3 rtcsync
SEE ALSO chronyc(1), chronyd(8)
AUTHOR Richard Curnow <email@example.com>
This man-page was written by Jan Schaumann <firstname.lastname@example.org> as part of "The Missing Man Pages Project". Please see http://www.net- meister.org/misc/m2p2/index.html for details.
The complete chrony documentation is supplied in texinfo format.
chrony 2.1.1 June 2015 chrony.conf(5)