1 | # This the default chrony.conf file for the Debian chrony package. It is |
---|
2 | # suitable for a system with an intermittent dial-up connection. After |
---|
3 | # editing this file use the command 'invoke-rc.d chrony restart' to make |
---|
4 | # your changes take effect. |
---|
5 | # John Hasler <jhasler@debian.org> 3 Dec. 1998 |
---|
6 | |
---|
7 | # See www.pool.ntp.org for an explanation of these servers. Please |
---|
8 | # consider joining the project if possible. If you can't or don't want to |
---|
9 | # use these servers I suggest that you try your ISP's nameservers. We mark |
---|
10 | # the servers 'offline' so that chronyd won't try to connect when the link |
---|
11 | # is down. Scripts in /etc/ppp/ip-up.d and /etc/ppp/ip-down.d use chronyc |
---|
12 | # commands to switch it on when the link comes up and off when it goes |
---|
13 | # down. If you have an always-on connection such as cable omit the |
---|
14 | # 'offline' directive and chronyd will default to online. |
---|
15 | |
---|
16 | server time.mit.edu |
---|
17 | server tick.mit.edu |
---|
18 | |
---|
19 | # Look here for the admin password needed for chronyc. The initial |
---|
20 | # password is generated by a random process at install time. You may |
---|
21 | # change it if you wish. |
---|
22 | |
---|
23 | keyfile /etc/chrony/chrony.keys |
---|
24 | |
---|
25 | # Set runtime command key. Note that if you change the key (not the |
---|
26 | # password) to anything other than 1 you will need to edit |
---|
27 | # /etc/ppp/ip-up.d/chrony, /etc/ppp/ip-down.d/chrony, and |
---|
28 | # /etc/cron.weekly/chrony as these scripts use it to get the password. |
---|
29 | |
---|
30 | commandkey 1 |
---|
31 | |
---|
32 | # I moved the driftfile to /var/lib/chrony to comply with the Debian |
---|
33 | # filesystem standard. |
---|
34 | |
---|
35 | driftfile /var/lib/chrony/chrony.drift |
---|
36 | |
---|
37 | # Comment this line out to turn off logging. |
---|
38 | |
---|
39 | log tracking measurements statistics |
---|
40 | logdir /var/log/chrony |
---|
41 | |
---|
42 | # Stop bad estimates upsetting machine clock. |
---|
43 | |
---|
44 | maxupdateskew 100.0 |
---|
45 | |
---|
46 | # Dump measurements when daemon exits. |
---|
47 | |
---|
48 | dumponexit |
---|
49 | |
---|
50 | # Specify directory for dumping measurements. |
---|
51 | |
---|
52 | dumpdir /var/lib/chrony |
---|
53 | |
---|
54 | # Let computer be a server when it is unsynchronised. |
---|
55 | |
---|
56 | local stratum 10 |
---|
57 | |
---|
58 | # Allow computers on the unrouted nets 10 and 192.168 to use the server. |
---|
59 | |
---|
60 | allow 10/8 |
---|
61 | allow 192.168/16 |
---|
62 | allow 172.16/12 |
---|
63 | |
---|
64 | # This directive forces `chronyd' to send a message to syslog if it |
---|
65 | # makes a system clock adjustment larger than a threshold value in seconds. |
---|
66 | |
---|
67 | logchange 0.5 |
---|
68 | |
---|
69 | # This directive defines an email address to which mail should be sent |
---|
70 | # if chronyd applies a correction exceeding a particular threshold to the |
---|
71 | # system clock. |
---|
72 | |
---|
73 | # mailonchange root@localhost 0.5 |
---|
74 | |
---|
75 | # This directive tells chrony to regulate the real-time clock and tells it |
---|
76 | # Where to store related data. It may not work on some newer motherboards |
---|
77 | # that use the HPET real-time clock. It requires enhanced real-time |
---|
78 | # support in the kernel. |
---|
79 | |
---|
80 | rtcfile /var/lib/chrony/chrony.rtc |
---|
81 | |
---|
82 | # If the last line of this file reads 'rtconutc' chrony will assume that |
---|
83 | # the CMOS clock is on UTC (GMT). If it reads '# rtconutc' or is absent |
---|
84 | # chrony will assume local time. The line (if any) was written by the |
---|
85 | # chrony postinst based on what it found in /etc/default/rcS. You may |
---|
86 | # change it if necessary. |
---|
87 | rtconutc |
---|