Langue: en

Version: 362007 (ubuntu - 24/10/10)

Section: 5 (Format de fichier)


chrony.conf - chronyd configuration file




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 will be particularly useful : `driftfile', `commandkey', `keyfile'. The smallest useful configuration file would look something like

     server a.b.c
     server d.e.f
     server g.h.i
     keyfile /etc/chrony.keys
     commandkey 1
     driftfile /etc/chrony.drift


chrony(1), chronyc(1), chronyd(8)


Richard Curnow <>

This man-page was written by Jan Schaumann <> as part of "The Missing Man Pages Project". Please see for details.

The complete chrony documentation is supplied in texinfo format.