1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/net/chrony/files/patch-examples-chrony.conf.example

46 lines
1.6 KiB
Plaintext

--- examples/chrony.conf.example.orig 2014-01-31 20:12:59 +0800
+++ examples/chrony.conf.example
@@ -42,6 +42,13 @@
# Failing that, there are a lot of public NTP servers. There is a list
# you can access at http://support.ntp.org/bin/view/Servers/WebHome or
# you can use servers from the pool.ntp.org project.
+#
+# The option `iburst' is used for faster initial synchronization.
+
+server 0.freebsd.pool.ntp.org iburst
+server 1.freebsd.pool.ntp.org iburst
+server 2.freebsd.pool.ntp.org iburst
+#server 3.freebsd.pool.ntp.org iburst
! server 0.pool.ntp.org iburst
! server 1.pool.ntp.org iburst
@@ -98,7 +105,7 @@ driftfile /var/lib/chrony/drift
# exchanges between cooperating machines.) Again, this option is
# assumed by default.
-keyfile /etc/chrony.keys
+keyfile /usr/local/etc/chrony.keys
# Tell chronyd which numbered key in the file is used as the password
# for chronyc. (You can pick any integer up to 2**32-1. '1' is just a
@@ -129,7 +136,7 @@ commandkey 1
# 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
@@ -152,8 +159,8 @@ commandkey 1
# 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: