chiark / gitweb /
update TODO
[elogind.git] / units / hwclock-load.service
index 3897b39d1a087694ee4b491529d715f7e1f47e19..f278a671a34c37a094fb550a7263f7b73027db5e 100644 (file)
@@ -8,8 +8,10 @@
 [Unit]
 Description=Apply System Clock UTC Offset
 DefaultDependencies=no
+Wants=time-sync.target
 Conflicts=shutdown.target
-Before=basic.target shutdown.target udev.service
+After=systemd-readahead-collect.service systemd-readahead-replay.service
+Before=sysinit.target shutdown.target udev.service time-sync.target
 
 [Service]
 Type=oneshot
@@ -17,7 +19,7 @@ RemainAfterExit=yes
 ExecStart=/sbin/hwclock --systz
 StandardOutput=syslog
 
-# Note the weird semantics if hwclock and the kernel here: the first
+# Note the weird semantics of hwclock and the kernel here: the first
 # settimeofday() invocation from userspace is special and may be used
 # to set the offset from UTC of the system clock. It is independent
 # of any specific RTC device. This is mostly a crufty hack to support
@@ -29,4 +31,4 @@ StandardOutput=syslog
 # system time as part of kernel setup.
 
 [Install]
-WantedBy=basic.target
+WantedBy=sysinit.target