]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: don't pull in time-sync.target from systemd-timesyncd.service
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Dec 2020 19:19:44 +0000 (20:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Dec 2020 19:19:44 +0000 (20:19 +0100)
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.

units/systemd-timesyncd.service.in

index 62120d819088329bdb0ca10058dee12934caea6f..c0d63f5c708ce205e0a3e4be4a5e6506cedc1161 100644 (file)
@@ -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