X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fhwclock-load.service;h=f278a671a34c37a094fb550a7263f7b73027db5e;hp=5285615e178af7d5e4f28bc9c80caa27d2eefbeb;hb=359306dfe552228716b8da5cf989da8d0e23a297;hpb=c0a1b6e92682facf74412ca77daeedcc60cb3115 diff --git a/units/hwclock-load.service b/units/hwclock-load.service index 5285615e1..f278a671a 100644 --- a/units/hwclock-load.service +++ b/units/hwclock-load.service @@ -8,15 +8,18 @@ [Unit] Description=Apply System Clock UTC Offset DefaultDependencies=no +Wants=time-sync.target Conflicts=shutdown.target -Before=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 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 +31,4 @@ ExecStart=/sbin/hwclock --systz # system time as part of kernel setup. [Install] -WantedBy=basic.target +WantedBy=sysinit.target