Add another chrony.conf example
This commit is contained in:
parent
70735d8d79
commit
20f306602b
1 changed files with 39 additions and 0 deletions
39
examples/chrony.conf.example2
Normal file
39
examples/chrony.conf.example2
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# Use public servers from the pool.ntp.org project.
|
||||||
|
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
|
||||||
|
server 0.pool.ntp.org iburst
|
||||||
|
server 1.pool.ntp.org iburst
|
||||||
|
server 2.pool.ntp.org iburst
|
||||||
|
server 3.pool.ntp.org iburst
|
||||||
|
|
||||||
|
# Ignore stratum in source selection.
|
||||||
|
stratumweight 0
|
||||||
|
|
||||||
|
# Record the rate at which the system clock gains/losses time.
|
||||||
|
driftfile /var/lib/chrony/drift
|
||||||
|
|
||||||
|
# Enable kernel RTC synchronization.
|
||||||
|
rtcsync
|
||||||
|
|
||||||
|
# In first three updates step the system clock instead of slew
|
||||||
|
# if the adjustment is larger than 100 seconds.
|
||||||
|
makestep 100 3
|
||||||
|
|
||||||
|
# Allow client access from local network.
|
||||||
|
#allow 192.168/16
|
||||||
|
|
||||||
|
# Serve time even if not synchronized to any NTP server.
|
||||||
|
#local stratum 10
|
||||||
|
|
||||||
|
keyfile /etc/chrony.keys
|
||||||
|
|
||||||
|
# Specify the key used as password for chronyc.
|
||||||
|
commandkey 1
|
||||||
|
|
||||||
|
# Disable logging of client accesses.
|
||||||
|
noclientlog
|
||||||
|
|
||||||
|
# Send a message to syslog if a clock adjustment is larger than 0.5 seconds.
|
||||||
|
logchange 0.5
|
||||||
|
|
||||||
|
logdir /var/log/chrony
|
||||||
|
#log measurements statistics tracking
|
Loading…
Reference in a new issue