aboutsummaryrefslogtreecommitdiff
path: root/data/chronyd
diff options
context:
space:
mode:
Diffstat (limited to 'data/chronyd')
-rw-r--r--data/chronyd/chrony.conf59
1 files changed, 59 insertions, 0 deletions
diff --git a/data/chronyd/chrony.conf b/data/chronyd/chrony.conf
new file mode 100644
index 0000000..59d71f6
--- /dev/null
+++ b/data/chronyd/chrony.conf
@@ -0,0 +1,59 @@
1# Welcome to the chrony configuration file. See chrony.conf(5) for more
2# information about usable directives.
3
4# Include configuration files found in /etc/chrony/conf.d.
5confdir /etc/chrony/conf.d
6
7# Use Debian vendor zone.
8pool 2.debian.pool.ntp.org iburst
9
10# Use time sources from DHCP.
11sourcedir /run/chrony-dhcp
12
13# Use NTP sources found in /etc/chrony/sources.d.
14sourcedir /etc/chrony/sources.d
15
16# This directive specify the location of the file containing ID/key pairs for
17# NTP authentication.
18keyfile /etc/chrony/chrony.keys
19
20# This directive specify the file into which chronyd will store the rate
21# information.
22driftfile /var/lib/chrony/chrony.drift
23
24# Save NTS keys and cookies.
25ntsdumpdir /var/lib/chrony
26
27# Uncomment the following line to turn logging on.
28#log tracking measurements statistics
29
30# Log files location.
31logdir /var/log/chrony
32
33# Stop bad estimates upsetting machine clock.
34maxupdateskew 100.0
35
36# This directive enables kernel synchronisation (every 11 minutes) of the
37# real-time clock. Note that it can’t be used along with the 'rtcfile' directive.
38rtcsync
39
40# Step the system clock instead of slewing it if the adjustment is larger than
41# one second, but only in the first three clock updates.
42makestep 1 3
43
44# Get TAI-UTC offset and leap seconds from the system tz database.
45# This directive must be commented out when using time sources serving
46# leap-smeared time.
47leapsectz right/UTC
48
49# Allow usage as NTP server from local network
50allow 192.168.30.0/24
51allow 192.168.20.0/24
52allow 192.168.10.0/24
53allow 127.0.0.1/8
54
55# Serve time even if not synchronized to an external time source
56local stratum 10
57
58# Require authentication for NTP sources
59#authselectmode require