1 # This the default chrony.conf file for the Debian chrony package. After
2 # editing this file use the command 'invoke-rc.d chrony restart' to make
3 # your changes take effect. John Hasler <jhasler@debian.org> 1998-2008
5 # See www.pool.ntp.org for an explanation of these servers. Please
6 # consider joining the project if possible. If you can't or don't want to
7 # use these servers I suggest that you try your ISP's nameservers. We mark
8 # the servers 'offline' so that chronyd won't try to connect when the link
9 # is down. Scripts in /etc/ppp/ip-up.d and /etc/ppp/ip-down.d use chronyc
10 # commands to switch it on when a dialup link comes up and off when it goes
11 # down. Code in /etc/init.d/chrony attempts to determine whether or not
12 # the link is up at boot time and set the online status accordingly. If
13 # you have an always-on connection such as cable omit the 'offline'
14 # directive and chronyd will default to online.
16 # Note that if Chrony tries to go "online" and dns lookup of the servers
17 # fails they will be discarded. Thus under some circumstances it is
18 # better to use IP numbers than host names.
21 #server 0.debian.pool.ntp.org offline minpoll 8
22 #server 1.debian.pool.ntp.org offline minpoll 8
23 #server 2.debian.pool.ntp.org offline minpoll 8
24 #server 3.debian.pool.ntp.org offline minpoll 8
27 # Look here for the admin password needed for chronyc. The initial
28 # password is generated by a random process at install time. You may
29 # change it if you wish.
31 keyfile /etc/chrony/chrony.keys
33 # Set runtime command key. Note that if you change the key (not the
34 # password) to anything other than 1 you will need to edit
35 # /etc/ppp/ip-up.d/chrony, /etc/ppp/ip-down.d/chrony, /etc/init.d/chrony
36 # and /etc/cron.weekly/chrony as these scripts use it to get the password.
40 # I moved the driftfile to /var/lib/chrony to comply with the Debian
41 # filesystem standard.
43 driftfile /var/lib/chrony/chrony.drift
45 # Comment this line out to turn off logging.
47 log tracking measurements statistics
48 logdir /var/log/chrony
50 # Stop bad estimates upsetting machine clock.
54 # Dump measurements when daemon exits.
58 # Specify directory for dumping measurements.
60 dumpdir /var/lib/chrony
62 # Let computer be a server when it is unsynchronised.
66 # Allow computers on the unrouted nets to use the server.
74 # This directive forces `chronyd' to send a message to syslog if it
75 # makes a system clock adjustment larger than a threshold value in seconds.
79 # This directive defines an email address to which mail should be sent
80 # if chronyd applies a correction exceeding a particular threshold to the
83 # mailonchange root@localhost 0.5
85 # This directive tells chrony to regulate the real-time clock and tells it
86 # Where to store related data. It may not work on some newer motherboards
87 # that use the HPET real-time clock. It requires enhanced real-time
88 # support in the kernel. I've commented it out because with certain
89 # combinations of motherboard and kernel it is reported to cause lockups.
91 rtcfile /var/lib/chrony/chrony.rtc
93 # If the last line of this file reads 'rtconutc' chrony will assume that
94 # the CMOS clock is on UTC (GMT). If it reads '# rtconutc' or is absent
95 # chrony will assume local time. The line (if any) was written by the
96 # chrony postinst based on what it found in /etc/default/rcS. You may
97 # change it if necessary.