[packages/chrony] - added comments, use more sets of servers from pool.ntp.org
hawk
hawk at pld-linux.org
Sat Sep 18 13:29:46 CEST 2021
commit 3dd8d6a47a38be47e603ba00f4c28029fdec7d67
Author: Marcin Krol <hawk at tld-linux.org>
Date: Sat Sep 18 13:28:33 2021 +0200
- added comments, use more sets of servers from pool.ntp.org
chrony.conf | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
---
diff --git a/chrony.conf b/chrony.conf
index f9f3c6e..0c50f18 100644
--- a/chrony.conf
+++ b/chrony.conf
@@ -1,7 +1,19 @@
+# Welcome to the chrony configuration file. See chrony.conf(5) for more
+# information about usuable directives.
+
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
-pool pool.ntp.org iburst
-
+pool 0.pool.ntp.org iburst
+pool 1.pool.ntp.org iburst
+pool 2.pool.ntp.org iburst
+pool 3.pool.ntp.org iburst
+
+# This directive specify the location of the file containing ID/key pairs for
+# NTP authentication.
+keyfile /etc/ntp/keys
+
+# This directive specify the file into which chronyd will store the rate
+# information.
driftfile /var/lib/ntp/drift
# Allow client access from local network.
@@ -10,11 +22,9 @@ driftfile /var/lib/ntp/drift
# Serve time even if not synchronized to any NTP server.
#local stratum 10
-keyfile /etc/ntp/keys
-
-# Allow the system clock to be stepped in the first three updates
+# Allow the system clock to be stepped in the first three updates
# if its offset is larger than 1 second.
-makestep 1.0 3
+makestep 1 3
# Enable kernel synchronization of the real-time clock (RTC).
rtcsync
@@ -23,5 +33,8 @@ rtcsync
# an error larger than 0.5 seconds.
logchange 0.5
+# Log files location
logdir /var/log/chrony
+
+# Uncomment the following line to turn logging on.
#log measurements statistics tracking
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chrony.git/commitdiff/3b8450f1f57e1b0ebbaf33c1d8711250418755d2
More information about the pld-cvs-commit
mailing list