chiark / gitweb /
tmpfiles: create leading directories for d/D instructions
[elogind.git] / units / hwclock-load.service
index d3427e6eebb6f31c9c2f79d0c0ed97af44a3ec39..51f255e2ab9570c4875e1e80511b65f8a1ea424c 100644 (file)
@@ -9,14 +9,16 @@
 Description=Apply System Clock UTC Offset
 DefaultDependencies=no
 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
 
 [Service]
 Type=oneshot
 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
@@ -28,4 +30,4 @@ ExecStart=/sbin/hwclock --systz
 # system time as part of kernel setup.
 
 [Install]
-WantedBy=basic.target
+WantedBy=sysinit.target