chiark / gitweb /
service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service
[elogind.git] / units / hwclock-load.service
index 493c7653a912da6b55d25ecb2fe1605eabfd2dae..d3427e6eebb6f31c9c2f79d0c0ed97af44a3ec39 100644 (file)
@@ -9,7 +9,7 @@
 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
@@ -26,3 +26,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