summaryrefslogtreecommitdiff
path: root/chrony/chrony.conf
diff options
context:
space:
mode:
Diffstat (limited to 'chrony/chrony.conf')
-rw-r--r--chrony/chrony.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/chrony/chrony.conf b/chrony/chrony.conf
new file mode 100644
index 000000000..039bb13ef
--- /dev/null
+++ b/chrony/chrony.conf
@@ -0,0 +1,30 @@
+#
+# /etc/chrony.conf
+#
+
+# Change this to some puplic NTP server of your
+# country, or the server of your local network
+server ntp1.ptb.de minpoll 10 auto_offline
+server ntp1.fau.de minpoll 10 auto_offline
+
+maxupdateskew 100
+commandkey 1
+dumponexit
+log measurements statistics tracking
+allow 192.168.0/24
+cmdallow 192.168.0/24
+cmdallow 127.0.0.1
+
+keyfile /etc/chrony.keys
+driftfile /var/lib/chrony/chrony.drift
+dumpdir /var/lib/chrony
+pidfile /var/run/chronyd.pid
+logdir /var/log/chrony
+
+# Enable this only if you have enhanced real time
+# clock support build into your kernel
+! log rtc
+! rtcdevice /dev/misc/rtc
+! rtcfile /var/lib/chrony/chrony.rtc
+
+# End of file

Generated by cgit