[Unit]
Description=Apply System Clock UTC Offset
DefaultDependencies=no
+Wants=time-sync.target
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
-Before=basic.target shutdown.target udev.service
+Before=sysinit.target shutdown.target udev.service time-sync.target
[Service]
Type=oneshot
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
# system time as part of kernel setup.
[Install]
-WantedBy=basic.target
+WantedBy=sysinit.target