chiark / gitweb /
sysusers: order before tmpfiles which need the ids
[elogind.git] / units / systemd-timesyncd.service.in
index 8d898e2fa767a0f687b865d6a768061df44107c0..a20621dd581c8d5d71e07a26ad81547e284c80ad 100644 (file)
@@ -11,9 +11,11 @@ Documentation=man:systemd-timesyncd.service(8)
 ConditionCapability=CAP_SYS_TIME
 DefaultDependencies=off
 RequiresMountsFor=/var/lib/systemd/clock
-After=systemd-remount-fs.service systemd-tmpfiles-setup.service
+After=systemd-remount-fs.service systemd-tmpfiles-setup.service systemd-sysusers.service
 Before=sysinit.target shutdown.target
 Conflicts=shutdown.target
+Wants=time-sync.target
+Before=time-sync.target
 
 [Service]
 Type=notify