1chrony.conf(5) Configuration Files chrony.conf(5)
2
3
4
6 chrony.conf - chronyd configuration file
7
8
10 /etc/chrony.conf
11
12
14 chrony is a pair of programs for maintaining the accuracy of computer
15 clocks. chronyd is a background daemon program that can be started at
16 boot time.
17
18 Assuming that you have found some servers, you need to set up a config‐
19 uration file to run chrony. The (compiled-in) default location for
20 this file is /etc/chrony.conf. Assuming that your NTP servers are
21 called `foo.example.net', `bar.example.net' and `baz.example.net', your
22 chrony.conf file could contain as a minimum
23
24 server foo.example.net
25 server bar.example.net
26 server baz.example.net
27
28 However, you will probably want to include some of the other directives
29 described in detail in the documentation supplied with the distribution
30 (chrony.txt and chrony.texi). The following directives may be particu‐
31 larly useful : `driftfile', `makestep', `rtcsync'. Also, the `iburst'
32 server option is useful to speed up the initial synchronization. The
33 smallest useful configuration file would look something like
34
35 server foo.example.net iburst
36 server bar.example.net iburst
37 server baz.example.net iburst
38 driftfile /var/lib/chrony/drift
39 makestep 10 3
40 rtcsync
41
42 When using a pool of NTP servers (one name is used for multiple servers
43 which may change over time), it's better to specify them with the
44 `pool' directive instead of multiple `server' directives. The configu‐
45 ration file could in this case look like
46
47 pool pool.ntp.org iburst
48 driftfile /var/lib/chrony/drift
49 makestep 10 3
50 rtcsync
51
52
54 chronyc(1), chronyd(8)
55
56 http://chrony.tuxfamily.org/
57
58
60 Richard Curnow <rc@rc0.org.uk>
61
62 This man-page was written by Jan Schaumann <jschauma@netmeister.org> as
63 part of "The Missing Man Pages Project". Please see http://www.net‐
64 meister.org/misc/m2p2/index.html for details.
65
66 The complete chrony documentation is supplied in texinfo format.
67
68
69
70
71chrony 2.1.1 June 2015 chrony.conf(5)