From: Lennart Poettering Date: Thu, 17 Dec 2020 19:19:44 +0000 (+0100) Subject: units: don't pull in time-sync.target from systemd-timesyncd.service X-Git-Tag: v248-rc1~474^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2004ee56877039183508d8d3dcbdb247a2c1002;p=thirdparty%2Fsystemd.git units: don't pull in time-sync.target from systemd-timesyncd.service systemd-timesyncd.service only applies the much weaker monotonic clock from file logic, i.e should pull in and order itself before time-set.target. The strong time-sync.target unit is pulled in by systemd-time-wait-sync.service. --- diff --git a/units/systemd-timesyncd.service.in b/units/systemd-timesyncd.service.in index 62120d81908..c0d63f5c708 100644 --- a/units/systemd-timesyncd.service.in +++ b/units/systemd-timesyncd.service.in @@ -16,7 +16,7 @@ DefaultDependencies=no After=systemd-sysusers.service Before=time-set.target sysinit.target shutdown.target Conflicts=shutdown.target -Wants=time-set.target time-sync.target +Wants=time-set.target [Service] AmbientCapabilities=CAP_SYS_TIME