chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
man: document systemd-nspawn
[elogind.git]
/
units
/
hwclock-save.service
diff --git
a/units/hwclock-save.service
b/units/hwclock-save.service
index 23866d2fb6ae1baa209b89b64109df8cee2b3aeb..dedee767a2f5c2b5a2a22489e1ce2c2a3fc72075 100644
(file)
--- a/
units/hwclock-save.service
+++ b/
units/hwclock-save.service
@@
-8,11
+8,10
@@
[Unit]
Description=Update RTC With System Clock
DefaultDependencies=no
[Unit]
Description=Update RTC With System Clock
DefaultDependencies=no
-Before=poweroff.service reboot.service halt.service killall.service
+After=hwclock-load.service
+Before=shutdown.target
+Conflicts=hwclock-load.service
[Service]
Type=oneshot
ExecStart=/sbin/hwclock --systohc
[Service]
Type=oneshot
ExecStart=/sbin/hwclock --systohc
-
-[Install]
-WantedBy=shutdown.target