| 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 |
| 4 | |
| 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. |
| 15 | # |
| 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. |
| 19 | |
| 20 | server maitre offline |
| 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 |
| 25 | |
| 26 | |
| 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. |
| 30 | |
| 31 | keyfile /etc/chrony/chrony.keys |
| 32 | |
| 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. |
| 37 | |
| 38 | commandkey 1 |
| 39 | |
| 40 | # I moved the driftfile to /var/lib/chrony to comply with the Debian |
| 41 | # filesystem standard. |
| 42 | |
| 43 | driftfile /var/lib/chrony/chrony.drift |
| 44 | |
| 45 | # Comment this line out to turn off logging. |
| 46 | |
| 47 | log tracking measurements statistics |
| 48 | logdir /var/log/chrony |
| 49 | |
| 50 | # Stop bad estimates upsetting machine clock. |
| 51 | |
| 52 | maxupdateskew 100.0 |
| 53 | |
| 54 | # Dump measurements when daemon exits. |
| 55 | |
| 56 | dumponexit |
| 57 | |
| 58 | # Specify directory for dumping measurements. |
| 59 | |
| 60 | dumpdir /var/lib/chrony |
| 61 | |
| 62 | # Let computer be a server when it is unsynchronised. |
| 63 | |
| 64 | local stratum 10 |
| 65 | |
| 66 | # Allow computers on the unrouted nets to use the server. |
| 67 | |
| 68 | #allow 10/8 |
| 69 | #allow 192.168/16 |
| 70 | #allow 172.16/12 |
| 71 | |
| 72 | # This directive forces `chronyd' to send a message to syslog if it |
| 73 | # makes a system clock adjustment larger than a threshold value in seconds. |
| 74 | |
| 75 | logchange 0.5 |
| 76 | |
| 77 | # This directive defines an email address to which mail should be sent |
| 78 | # if chronyd applies a correction exceeding a particular threshold to the |
| 79 | # system clock. |
| 80 | |
| 81 | # mailonchange root@localhost 0.5 |
| 82 | |
| 83 | # This directive tells chrony to regulate the real-time clock and tells it |
| 84 | # Where to store related data. It may not work on some newer motherboards |
| 85 | # that use the HPET real-time clock. It requires enhanced real-time |
| 86 | # support in the kernel. I've commented it out because with certain |
| 87 | # combinations of motherboard and kernel it is reported to cause lockups. |
| 88 | |
| 89 | rtcfile /var/lib/chrony/chrony.rtc |
| 90 | |
| 91 | # If the last line of this file reads 'rtconutc' chrony will assume that |
| 92 | # the CMOS clock is on UTC (GMT). If it reads '# rtconutc' or is absent |
| 93 | # chrony will assume local time. The line (if any) was written by the |
| 94 | # chrony postinst based on what it found in /etc/default/rcS. You may |
| 95 | # change it if necessary. |
| 96 | # rtconutc |