From c8ac0f00af4e1ced7c830f52bcc8cc1c6cabba5d Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 18 Aug 2025 23:39:35 +0200 Subject: [PATCH] roles/base/ntp/files --- roles/base/ntp/files/default/chrony.client.conf | 14 +++++++------- roles/base/ntp/files/default/chrony.service | 3 --- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/roles/base/ntp/files/default/chrony.client.conf b/roles/base/ntp/files/default/chrony.client.conf index 887037c..d03e6b1 100644 --- a/roles/base/ntp/files/default/chrony.client.conf +++ b/roles/base/ntp/files/default/chrony.client.conf @@ -9,11 +9,8 @@ # Welcome to the chrony configuration file. See chrony.conf(5) for more # information about usable directives. -# Include configuration files found in /etc/chrony/conf.d. -confdir /etc/chrony/conf.d - # Use Debian vendor zone. -pool 2.debian.pool.ntp.org iburst +pool pool.ntp.org iburst # Use time sources from DHCP. sourcedir /run/chrony-dhcp @@ -21,11 +18,11 @@ sourcedir /run/chrony-dhcp # Use NTP sources found in /etc/chrony/sources.d. sourcedir /etc/chrony/sources.d -# This directive specify the location of the file containing ID/key pairs for +# This directive specifies the location of the file containing ID/key pairs for # NTP authentication. keyfile /etc/chrony/chrony.keys -# This directive specify the file into which chronyd will store the rate +# This directive specifies the file into which chronyd will store the rate # information. driftfile /var/lib/chrony/chrony.drift @@ -52,4 +49,7 @@ makestep 1 3 # Get TAI-UTC offset and leap seconds from the system tz database. # This directive must be commented out when using time sources serving # leap-smeared time. -leapsectz right/UTC +leapseclist /usr/share/zoneinfo/leap-seconds.list + +# Include configuration files found in /etc/chrony/conf.d. +confdir /etc/chrony/conf.d diff --git a/roles/base/ntp/files/default/chrony.service b/roles/base/ntp/files/default/chrony.service index 709d694..e07b9c1 100644 --- a/roles/base/ntp/files/default/chrony.service +++ b/roles/base/ntp/files/default/chrony.service @@ -10,9 +10,6 @@ Description=chrony, an NTP client/server Documentation=man:chronyd(8) man:chronyc(1) man:chrony.conf(5) Conflicts=openntpd.service ntp.service ntpsec.service -Wants=time-sync.target -Before=time-sync.target -After=network.target ConditionCapability=CAP_SYS_TIME [Service] -- 2.47.2