Initial commit.
This commit is contained in:
43
chrony.conf
Normal file
43
chrony.conf
Normal file
@@ -0,0 +1,43 @@
|
||||
# Ansible managed: /home/bogdan/ops/ansible/roles/chrony/templates/chrony.conf.j2 modified on 2016-10-13 16:33:00 by bogdan on Lenovo-C50-30
|
||||
#peer 192.168.1.254 minpoll 4 maxpoll 10
|
||||
server 0.ro.pool.ntp.org iburst minpoll 4 maxpoll 10
|
||||
server 1.ro.pool.ntp.org iburst minpoll 4 maxpoll 10
|
||||
server 2.ro.pool.ntp.org iburst minpoll 4 maxpoll 10
|
||||
server 3.ro.pool.ntp.org iburst minpoll 4 maxpoll 10
|
||||
|
||||
# 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 10 seconds.
|
||||
makestep 10 3
|
||||
|
||||
# Allow NTP client access from local network.
|
||||
#allow 192.168/16
|
||||
|
||||
# Listen for commands only on localhost.
|
||||
bindcmdaddress 127.0.0.1
|
||||
bindcmdaddress ::1
|
||||
|
||||
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
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user