fix chrony config

This commit is contained in:
Gilles Mouchet 2024-06-30 14:15:52 +02:00
parent 259e3e23c0
commit a259ce14a0

View File

@ -1,10 +1,10 @@
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
#pool 2.pool.ntp.org iburst
server 0.ch.pool.ntp.org
server 1.ch.pool.ntp.org
server 2.ch.pool.ntp.org
server 3.ch.pool.ntp.org
server 0.ch.pool.ntp.org iburst
server 1.ch.pool.ntp.org iburst
server 2.ch.pool.ntp.org iburst
server 3.ch.pool.ntp.org iburst
# Record the rate at which the system clock gains/losses time.
driftfile /var/lib/chrony/drift
@ -25,6 +25,7 @@ rtcsync
# Allow NTP client access from local network.
#allow 192.168.0.0/16
allow 192.168.1.0/24
# Serve time even if not synchronized to a time source.
#local stratum 10
@ -39,4 +40,4 @@ leapsectz right/UTC
logdir /var/log/chrony
# Select which information is logged.
#log measurements statistics tracking
log measurements statistics tracking rtc