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 8d898e2fa767a0f687b865d6a768061df44107c0..3a1bc48a91e91de6ba2eb8ded0dfe2fe55ccd2d0 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