chiark / gitweb /
units: move a couple of units from base.target to sysinit.target
[elogind.git] / units / hwclock-load.service
index d3427e6eebb6f31c9c2f79d0c0ed97af44a3ec39..4deb5c10c711b22a9ccecbd04192bbeb8c38a0bb 100644 (file)
@@ -9,12 +9,14 @@
 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
 # settimeofday() invocation from userspace is special and may be used
@@ -28,4 +30,4 @@ ExecStart=/sbin/hwclock --systz
 # system time as part of kernel setup.
 
 [Install]
-WantedBy=basic.target
+WantedBy=sysinit.target