summaryrefslogtreecommitdiffstats
path: root/etc/defaults/periodic.conf
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2016-01-26 07:06:44 +0000
committercy <cy@FreeBSD.org>2016-01-26 07:06:44 +0000
commit39f2b6289d18c0af0cb18b9f2083c2b83865251b (patch)
tree8948e9a0cdf4b3220ee61079f0a009bfd730e7ed /etc/defaults/periodic.conf
parentf151bb5ce7fee9634f35eeab77c73401e0ec9c4b (diff)
downloadFreeBSD-src-39f2b6289d18c0af0cb18b9f2083c2b83865251b.zip
FreeBSD-src-39f2b6289d18c0af0cb18b9f2083c2b83865251b.tar.gz
Add support for automatic leap-second file updates.
The working copy of leapfile resides in /var/dbntpd.leap-seconds.list. /etc/ntp/leap-seconds (periodically updated from ftp://time.nist.gov/pub/ or ftp://tycho.usno.navy.mil/pub/ntp/) contains the master copy should automatic leapfile updates be disabled (default). Automatic leapfile updates are fetched from $ntp_leapfile_sources, defaulting to https://www.ietf.org/timezones/data/leap-seconds.list, within $ntp_leapfile_expiry_days (default 30 days) from leap-seconds file expiry. Automatic updates can be enabled by setting $daily_ntpd_leapfile_enable="YES" in periodic.conf. To avoid congesting the ntp leapfile source the automatic update randomized by default but can be disabled through daily_ntpd_avoid_congestion="NO" in periodic.conf. Suggested by: des Reviewed by: des, roberto, dwmalone, ian, cperciva, glebius, gjb MFC after: 1 week X-MFC with: r289421, r293037
Diffstat (limited to 'etc/defaults/periodic.conf')
-rw-r--r--etc/defaults/periodic.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/defaults/periodic.conf b/etc/defaults/periodic.conf
index e9dac27..2364d7f 100644
--- a/etc/defaults/periodic.conf
+++ b/etc/defaults/periodic.conf
@@ -134,6 +134,11 @@ daily_status_mail_rejects_enable="YES" # Check mail rejects
daily_status_mail_rejects_logs=3 # How many logs to check
daily_status_mail_rejects_shorten="NO" # Shorten output
+# 480.leapfile-ntpd
+daily_ntpd_leapfile_enable="NO" # Fetch NTP leapfile
+daily_ntpd_avoid_congestion="YES" # Avoid congesting
+ # leapfile sources
+
# 480.status-ntpd
daily_status_ntpd_enable="NO" # Check NTP status
OpenPOWER on IntegriCloud