blob: ede5a8ea6dc22289e0adb25e7396afc6f6a71651 [file] [log] [blame]
From 5665e543a7a6d56892e5517cbd897d5a89f3ef2c Mon Sep 17 00:00:00 2001
From: Roy Yang <royyang@google.com>
Date: Thu, 25 Jun 2020 13:59:31 -0700
Subject: [PATCH] Use chronyd as the default NTP service
---
units/systemd-timedated.service.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/units/systemd-timedated.service.in b/units/systemd-timedated.service.in
index 6f476173b6..31f0b11b2f 100644
--- a/units/systemd-timedated.service.in
+++ b/units/systemd-timedated.service.in
@@ -17,6 +17,7 @@ Documentation=man:org.freedesktop.timedate1(5)
BusName=org.freedesktop.timedate1
CapabilityBoundingSet=CAP_SYS_TIME
DeviceAllow=char-rtc r
+Environment=SYSTEMD_TIMEDATED_NTP_SERVICES=chronyd.service
ExecStart=@rootlibexecdir@/systemd-timedated
IPAddressDeny=any
LockPersonality=yes