chrony (5) - Linux Manuals

chrony: chronyd configuration file

NAME

chrony.conf - chronyd configuration file

SYNOPSIS

/etc/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.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.keys
  generatecommandkey
  driftfile /var/lib/chrony/drift
  makestep 10 3

AUTHOR

Richard Curnow <rc [at] rc0.org.uk>

This man-page was written by Jan Schaumann <jschauma [at] 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.