X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fhwclock-load.service;h=3897b39d1a087694ee4b491529d715f7e1f47e19;hp=493c7653a912da6b55d25ecb2fe1605eabfd2dae;hb=62347bc24a695bc0527f663af5fe136b1a993573;hpb=7376cffd56ccfbf7e81db16736bba69aa3036cc0 diff --git a/units/hwclock-load.service b/units/hwclock-load.service index 493c7653a..3897b39d1 100644 --- a/units/hwclock-load.service +++ b/units/hwclock-load.service @@ -9,12 +9,13 @@ Description=Apply System Clock UTC Offset DefaultDependencies=no Conflicts=shutdown.target -Before=shutdown.target udev.service +Before=basic.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 @@ -26,3 +27,6 @@ ExecStart=/sbin/hwclock --systz # Note that we do not run --hctosys here, we assume the kernel # includes a compiled in RTC module which is used to initialize the # system time as part of kernel setup. + +[Install] +WantedBy=basic.target