From b8d546a0d110792b162e477a2c8249df6e25f553 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 14 Sep 2017 15:59:59 +0200 Subject: [PATCH] examples: add leapsectz to configuration examples --- examples/chrony.conf.example2 | 3 +++ examples/chrony.conf.example3 | 6 ++++++ 2 files changed, 9 insertions(+) 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