diff options
author | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-02-04 01:23:43 -0500 |
---|---|---|
committer | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-02-04 01:52:13 -0500 |
commit | 0261e875679f1bf63c8d689da7fc7e014597885d (patch) | |
tree | 3f19cd74a0c1070944f75437f30b098d6ef2ffcb /roles/chrony/templates/etc/chrony.conf.j2 | |
download | selfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.tar.gz selfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.zip |
initial commit
Diffstat (limited to 'roles/chrony/templates/etc/chrony.conf.j2')
-rw-r--r-- | roles/chrony/templates/etc/chrony.conf.j2 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/chrony/templates/etc/chrony.conf.j2 b/roles/chrony/templates/etc/chrony.conf.j2 new file mode 100644 index 0000000..ecdcde6 --- /dev/null +++ b/roles/chrony/templates/etc/chrony.conf.j2 @@ -0,0 +1,22 @@ +{% for server in chrony_ntp_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 + +# Specify file containing keys for NTP authentication. +keyfile /etc/chrony.keys + +# Get TAI-UTC offset and leap seconds from the system tz database. +leapsectz right/UTC + +# Specify directory for log files. +logdir /var/log/chrony |