blob: 10209ee432c2dfc2391fcc29c2514de2cb1d7a4b [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
@@ -13,6 +13,7 @@ Documentation=man:systemd-timedated.service(8) man:localtime(5)
Documentation=https://www.freedesktop.org/wiki/Software/systemd/timedated
[Service]
+Environment=SYSTEMD_TIMEDATED_NTP_SERVICES=chronyd.service
ExecStart=@rootlibexecdir@/systemd-timedated
BusName=org.freedesktop.timedate1
WatchdogSec=3min
--
2.27.0.111.gc72c7da667-goog