blob: f5470f512e012f71ad0a705dff268f65c5e6b946 [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 906bb4326c..76975b0d91 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
--
2.27.0.111.gc72c7da667-goog