From: Miroslav Lichvar Date: Thu, 14 Sep 2017 13:59:59 +0000 (+0200) Subject: examples: add leapsectz to configuration examples X-Git-Tag: 3.2^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8d546a0d110792b162e477a2c8249df6e25f553;p=thirdparty%2Fchrony.git examples: add leapsectz to configuration examples --- diff --git a/examples/chrony.conf.example2 b/examples/chrony.conf.example2 index cbd065ed..21be153d 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 fdc656a4..05a4e987 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