24 lines
610 B
Django/Jinja
24 lines
610 B
Django/Jinja
# Remote servers
|
|
{% for server in chrony_servers %}
|
|
server {{ server }} iburst
|
|
{% endfor %}
|
|
|
|
# Record the rate at which the system clock gains/losses time.
|
|
driftfile /var/lib/chrony/drift
|
|
|
|
# Allow the system clock to be stepped in the first three updates
|
|
# if its offset is larger than 1 second.
|
|
makestep 1.0 3
|
|
|
|
# Enable kernel synchronization of the real-time clock (RTC).
|
|
rtcsync
|
|
{% if chrony_allow is defined %}
|
|
|
|
# Allow NTP client access.
|
|
{% for allow in chrony_allow %}
|
|
allow {{ allow }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
# Get TAI-UTC offset and leap seconds from the system tz database.
|
|
leapsectz right/UTC
|