Scroll to navigation

chrony.conf(5) Configuration Files chrony.conf(5)

NAME

chrony.conf - chronyd configuration file

SYNOPSIS

/etc/chrony/chrony.conf

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 configuration file to run chrony. The (compiled-in) default location for this file is /etc/chrony/chrony.conf. Assuming that your ntp servers are called `a.b.c' and `d.e.f', your chrony.conf file could contain as a minimum

server a.b.c
server d.e.f
server g.h.i
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 particularly useful : `driftfile', `generatecommandkey', `keyfile', `makestep'. Also, the `iburst' server option is useful to speed up the initial synchronization. The smallest useful configuration file would look something like

server a.b.c iburst
server d.e.f iburst
server g.h.i iburst
keyfile /etc/chrony/chrony.keys
generatecommandkey
driftfile /var/lib/chrony/drift
makestep 10 3

SEE ALSO

chrony(1), chronyc(1), chronyd(8)
http://chrony.tuxfamily.org/

AUTHOR

Richard Curnow <rc@rc0.org.uk>
This man-page was written by Jan Schaumann <jschauma@netmeister.org> as part of "The Missing Man Pages Project". Please see http://www.netmeister.org/misc/m2p2/index.html for details.
The complete chrony documentation is supplied in texinfo format.
July 2014 chrony 1.30