summaryrefslogtreecommitdiff
path: root/units/hwclock-save.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/hwclock-save.service')
-rw-r--r--units/hwclock-save.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/units/hwclock-save.service b/units/hwclock-save.service
index 11ad0eba2b..dedee767a2 100644
--- a/units/hwclock-save.service
+++ b/units/hwclock-save.service
@@ -8,7 +8,9 @@
[Unit]
Description=Update RTC With System Clock
DefaultDependencies=no
-Before=poweroff.service reboot.service halt.service
+After=hwclock-load.service
+Before=shutdown.target
+Conflicts=hwclock-load.service
[Service]
Type=oneshot