summaryrefslogtreecommitdiff
path: root/units/systemd-random-seed-save.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/systemd-random-seed-save.service.in')
-rw-r--r--units/systemd-random-seed-save.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/systemd-random-seed-save.service.in b/units/systemd-random-seed-save.service.in
index 6539bdceff..9a074cf3fe 100644
--- a/units/systemd-random-seed-save.service.in
+++ b/units/systemd-random-seed-save.service.in
@@ -8,7 +8,8 @@
[Unit]
Description=Save Random Seed
DefaultDependencies=no
-Before=poweroff.service reboot.service halt.service
+After=systemd-random-seed-load.service
+Before=shutdown.target
Conflicts=systemd-random-seed-load.service
[Service]