ntp: Update chrony config template from CentOS 7

This commit is contained in:
Ossi Salmi 2015-09-12 01:07:21 +03:00
parent 39be11a9f6
commit 68d0f0df65

View file

@ -13,12 +13,16 @@ driftfile /var/lib/chrony/drift
rtcsync
# In first three updates step the system clock instead of slew
# if the adjustment is larger than 100 seconds.
makestep 100 3
# if the adjustment is larger than 10 seconds.
makestep 10 3
# Allow client access from local network.
# Allow NTP client access from local network.
#allow 192.168/16
# Listen for commands only on localhost.
bindcmdaddress 127.0.0.1
bindcmdaddress ::1
# Serve time even if not synchronized to any NTP server.
#local stratum 10
@ -27,6 +31,9 @@ keyfile /etc/chrony.keys
# Specify the key used as password for chronyc.
commandkey 1
# Generate command key if missing.
generatecommandkey
# Disable logging of client accesses.
noclientlog
@ -35,4 +42,3 @@ logchange 0.5
logdir /var/log/chrony
#log measurements statistics tracking