192 |
- |
1 |
# Use public servers from the pool.ntp.org project.
|
|
|
2 |
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
|
203 |
- |
3 |
#pool 2.centos.pool.ntp.org iburst
|
|
|
4 |
pool time.windows.com
|
192 |
- |
5 |
|
|
|
6 |
# Record the rate at which the system clock gains/losses time.
|
|
|
7 |
driftfile /var/lib/chrony/drift
|
|
|
8 |
|
|
|
9 |
# Allow the system clock to be stepped in the first three updates
|
|
|
10 |
# if its offset is larger than 1 second.
|
|
|
11 |
makestep 1.0 3
|
|
|
12 |
|
|
|
13 |
# Enable kernel synchronization of the real-time clock (RTC).
|
|
|
14 |
rtcsync
|
|
|
15 |
|
|
|
16 |
# Enable hardware timestamping on all interfaces that support it.
|
|
|
17 |
#hwtimestamp *
|
|
|
18 |
|
|
|
19 |
# Increase the minimum number of selectable sources required to adjust
|
|
|
20 |
# the system clock.
|
|
|
21 |
#minsources 2
|
|
|
22 |
|
|
|
23 |
# Allow NTP client access from local network.
|
|
|
24 |
#allow 192.168.0.0/16
|
|
|
25 |
|
|
|
26 |
# Serve time even if not synchronized to a time source.
|
|
|
27 |
#local stratum 10
|
|
|
28 |
|
|
|
29 |
# Specify file containing keys for NTP authentication.
|
|
|
30 |
keyfile /etc/chrony.keys
|
|
|
31 |
|
|
|
32 |
# Get TAI-UTC offset and leap seconds from the system tz database.
|
|
|
33 |
leapsectz right/UTC
|
|
|
34 |
|
|
|
35 |
# Specify directory for log files.
|
|
|
36 |
logdir /var/log/chrony
|
|
|
37 |
|
|
|
38 |
# Select which information is logged.
|
|
|
39 |
#log measurements statistics tracking
|