diff --git a/examples/chrony.conf.example2 b/examples/chrony.conf.example2 index cbd065e..21be153 100644 --- a/examples/chrony.conf.example2 +++ b/examples/chrony.conf.example2 @@ -28,6 +28,9 @@ 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 diff --git a/examples/chrony.conf.example3 b/examples/chrony.conf.example3 index fdc656a..05a4e98 100644 --- a/examples/chrony.conf.example3 +++ b/examples/chrony.conf.example3 @@ -97,6 +97,12 @@ driftfile /var/lib/chrony/drift ! pidfile /var/run/chronyd.pid +# If the system timezone database is kept up to date and includes the +# right/UTC timezone, chronyd can use it to determine the current +# TAI-UTC offset and when will the next leap second occur. + +! leapsectz right/UTC + ####################################################################### ### INITIAL CLOCK CORRECTION # This option is useful to quickly correct the clock on start if it's