Marcus Rueckert
4b371e4ed1
Copy from home:pbleser:Utilities/chrony via accept of submit request 34235 revision 1. Request was accepted with message: reviewed ok OBS-URL: https://build.opensuse.org/request/show/34235 OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=1
98 lines
3.1 KiB
Diff
98 lines
3.1 KiB
Diff
--- examples/chrony.conf.example.orig 2010-03-07 17:42:07.000000000 +0100
|
|
+++ examples/chrony.conf.example 2010-03-07 23:59:35.000000000 +0100
|
|
@@ -43,9 +43,45 @@
|
|
# you can access at
|
|
# http://www.eecis.udel.edu/~mills/ntp/servers.htm.
|
|
|
|
+server 0.pool.ntp.org
|
|
+server 1.pool.ntp.org
|
|
+server 2.pool.ntp.org
|
|
+server 3.pool.ntp.org
|
|
+
|
|
+# for Europe:
|
|
+! server 0.europe.pool.ntp.org
|
|
+! server 1.europe.pool.ntp.org
|
|
+! server 2.europe.pool.ntp.org
|
|
+! server 3.europe.pool.ntp.org
|
|
+
|
|
+# for Asia:
|
|
+! server 0.asia.pool.ntp.org
|
|
+! server 1.asia.pool.ntp.org
|
|
+! server 2.asia.pool.ntp.org
|
|
+! server 3.asia.pool.ntp.org
|
|
+
|
|
+# for North America:
|
|
+! server 0.north-america.pool.ntp.org
|
|
+! server 1.north-america.pool.ntp.org
|
|
+! server 2.north-america.pool.ntp.org
|
|
+! server 3.north-america.pool.ntp.org
|
|
+
|
|
+# for South America:
|
|
+! server 0.south-america.pool.ntp.org
|
|
+! server 1.south-america.pool.ntp.org
|
|
+! server 2.south-america.pool.ntp.org
|
|
+! server 3.south-america.pool.ntp.org
|
|
+
|
|
+# for Oceania:
|
|
+! server 0.oceania.pool.ntp.org
|
|
+! server 1.oceania.pool.ntp.org
|
|
+! server 2.oceania.pool.ntp.org
|
|
+! server 3.oceania.pool.ntp.org
|
|
+
|
|
+# for your own ISP (preferred):
|
|
+! server ntp.skynet.be
|
|
! server ntp0.your-isp.com
|
|
! server ntp1.your-isp.com
|
|
-! server ntp.public-server.org
|
|
|
|
# However, for dial-up use you probably want these instead. The word
|
|
# 'offline' means that the server is not visible at boot time. Use
|
|
@@ -89,7 +125,7 @@
|
|
# immediately so that it doesn't gain or lose any more time. You
|
|
# generally want this, so it is uncommented.
|
|
|
|
-driftfile /etc/chrony.drift
|
|
+driftfile /var/lib/chrony/chrony.drift
|
|
|
|
# If you want to use the program called chronyc to configure aspects of
|
|
# chronyd's operation once it is running (e.g. tell it the Internet link
|
|
@@ -122,14 +158,14 @@
|
|
# Enable these two options to use this.
|
|
|
|
! dumponexit
|
|
-! dumpdir /var/log/chrony
|
|
+! dumpdir /var/lib/chrony
|
|
|
|
# chronyd writes its process ID to a file. If you try to start a second
|
|
# copy of chronyd, it will detect that the process named in the file is
|
|
# still running and bail out. If you want to change the path to the PID
|
|
# file, uncomment this line and edit it. The default path is shown.
|
|
|
|
-! pidfile /var/run/chronyd.pid
|
|
+pidfile /var/run/chronyd.pid
|
|
|
|
#######################################################################
|
|
### INITIAL CLOCK CORRECTION
|
|
@@ -153,8 +189,8 @@
|
|
# produce some graphs of your system's timekeeping performance, or you
|
|
# need help in debugging a problem.
|
|
|
|
-! logdir /var/log/chrony
|
|
-! log measurements statistics tracking
|
|
+logdir /var/log/chrony
|
|
+log measurements statistics tracking
|
|
|
|
# If you have real time clock support enabled (see below), you might want
|
|
# this line instead:
|
|
--- examples/chrony.keys.example.orig 2010-03-07 17:41:49.000000000 +0100
|
|
+++ examples/chrony.keys.example 2010-03-07 17:42:01.000000000 +0100
|
|
@@ -12,7 +12,7 @@
|
|
#######################################################################
|
|
# A valid key line looks like this
|
|
|
|
-1 a_key
|
|
+1 change_me_to_a_secret
|
|
|
|
# It must consist of an integer, followed by whitespace, followed by a block of
|
|
# text with no spaces in it. (You cannot put a space in a key). If you wanted
|