| ... | ... |
@@ -1,48 +1,38 @@ |
| 1 | 1 |
# Use public servers from the pool.ntp.org project. |
| 2 | 2 |
# Please consider joining the pool (http://www.pool.ntp.org/join.html). |
| 3 |
-#server 0.rhel.pool.ntp.org iburst |
|
| 4 |
-#server 1.rhel.pool.ntp.org iburst |
|
| 5 |
-#server 2.rhel.pool.ntp.org iburst |
|
| 6 |
-#server 3.rhel.pool.ntp.org iburst |
|
| 7 |
- |
|
| 8 | 3 |
server ns1.uni-sofia.bg iburst |
| 9 | 4 |
server ns2.uni-sofia.bg iburst |
| 10 | 5 |
server cache1.uni-sofia.bg iburst |
| 11 | 6 |
server cache2.uni-sofia.bg iburst |
| 12 | 7 |
|
| 13 |
-# Ignore stratum in source selection. |
|
| 14 |
-stratumweight 0 |
|
| 15 |
- |
|
| 16 | 8 |
# Record the rate at which the system clock gains/losses time. |
| 17 | 9 |
driftfile /var/lib/chrony/drift |
| 18 | 10 |
|
| 19 |
-# In first three updates step the system clock instead of slew |
|
| 20 |
-# if the adjustment is larger than 10 seconds. |
|
| 21 |
-makestep 10 3 |
|
| 11 |
+# Allow the system clock to be stepped in the first three updates |
|
| 12 |
+# if its offset is larger than 1 second. |
|
| 13 |
+makestep 1.0 3 |
|
| 22 | 14 |
|
| 23 | 15 |
# Enable kernel synchronization of the real-time clock (RTC). |
| 24 | 16 |
rtcsync |
| 25 | 17 |
|
| 18 |
+# Enable hardware timestamping on all interfaces that support it. |
|
| 19 |
+#hwtimestamp * |
|
| 20 |
+ |
|
| 21 |
+# Increase the minimum number of selectable sources required to adjust |
|
| 22 |
+# the system clock. |
|
| 23 |
+#minsources 2 |
|
| 24 |
+ |
|
| 26 | 25 |
# Allow NTP client access from local network. |
| 27 |
-#allow 192.168/16 |
|
| 26 |
+#allow 192.168.0.0/16 |
|
| 28 | 27 |
|
| 29 |
-# Serve time even if not synchronized to any NTP server. |
|
| 28 |
+# Serve time even if not synchronized to a time source. |
|
| 30 | 29 |
#local stratum 10 |
| 31 | 30 |
|
| 32 |
-# Specify file containing keys for NTP and command authentication. |
|
| 31 |
+# Specify file containing keys for NTP authentication. |
|
| 33 | 32 |
keyfile /etc/chrony.keys |
| 34 | 33 |
|
| 35 |
-# Specify key number for command authentication. |
|
| 36 |
-commandkey 1 |
|
| 37 |
- |
|
| 38 |
-# Generate new command key on start if missing. |
|
| 39 |
-generatecommandkey |
|
| 40 |
- |
|
| 41 |
-# Disable logging of client accesses. |
|
| 42 |
-noclientlog |
|
| 43 |
- |
|
| 44 |
-# Send message to syslog when clock adjustment is larger than 0.5 seconds. |
|
| 45 |
-logchange 0.5 |
|
| 34 |
+# Get TAI-UTC offset and leap seconds from the system tz database. |
|
| 35 |
+leapsectz right/UTC |
|
| 46 | 36 |
|
| 47 | 37 |
# Specify directory for log files. |
| 48 | 38 |
logdir /var/log/chrony |