From f619f0a9f5f5e0ad4f435c556811f37da78b8695 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Mon, 27 Apr 2020 14:26:12 +0200 Subject: [PATCH] - rel 3; use few features from example upstream configs --- chrony.conf | 11 ++++++++--- chrony.spec | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/chrony.conf b/chrony.conf index 0b5c8f4..058de00 100644 --- a/chrony.conf +++ b/chrony.conf @@ -1,8 +1,6 @@ # Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). -server 0.pool.ntp.org -server 1.pool.ntp.org -server 2.pool.ntp.org +pool pool.ntp.org iburst driftfile /var/lib/ntp/drift @@ -14,6 +12,13 @@ driftfile /var/lib/ntp/drift keyfile /etc/ntp/keys +# 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 the key used as password for chronyc. commandkey 1 diff --git a/chrony.spec b/chrony.spec index b0984ea..36b6ce2 100644 --- a/chrony.spec +++ b/chrony.spec @@ -3,7 +3,7 @@ Summary: An NTP client/server Name: chrony Version: 3.5 -Release: 2 +Release: 3 License: GPL v2 Group: Daemons Source0: http://download.tuxfamily.org/chrony/%{name}-%{version}.tar.gz -- 2.44.0