[packages/chrony] - rel 3; use few features from example upstream configs

arekm arekm at pld-linux.org
Mon Apr 27 14:26:25 CEST 2020


commit f619f0a9f5f5e0ad4f435c556811f37da78b8695
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Apr 27 14:26:12 2020 +0200

    - 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.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
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
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chrony.git/commitdiff/f619f0a9f5f5e0ad4f435c556811f37da78b8695



More information about the pld-cvs-commit mailing list