summaryrefslogtreecommitdiff
path: root/units/hwclock-save.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-23 01:37:18 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-23 01:37:18 +0100
commitd4a80c124356e87dadd1af2b386e77c9b286bbbf (patch)
tree630dc748291f46d7e7898f12e948f4887bbbc5f6 /units/hwclock-save.service
parentaeb70c8d60dd6e21dc3e2b20072f30c045d12261 (diff)
units: simplify shutdown scripts
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