chiark / gitweb /
units: pull in time-sync.target from systemd-timedated.service
authorLennart Poettering <lennart@poettering.net>
Fri, 6 Jun 2014 14:20:33 +0000 (16:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 6 Jun 2014 14:20:33 +0000 (16:20 +0200)
After all, that's what we document for time-sync.target in
systemd.special(5), hence let's follow our own suggestion.

units/systemd-timesyncd.service.in

index 8d898e2..3a1bc48 100644 (file)
@@ -14,6 +14,8 @@ RequiresMountsFor=/var/lib/systemd/clock
 After=systemd-remount-fs.service systemd-tmpfiles-setup.service
 Before=sysinit.target shutdown.target
 Conflicts=shutdown.target
+Wants=time-sync.target
+Before=time-sync.target
 
 [Service]
 Type=notify