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