summaryrefslogtreecommitdiff
path: root/units/initrd-cleanup.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/initrd-cleanup.service.in')
-rw-r--r--units/initrd-cleanup.service.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/units/initrd-cleanup.service.in b/units/initrd-cleanup.service.in
index 5bef090e08..218ec807ff 100644
--- a/units/initrd-cleanup.service.in
+++ b/units/initrd-cleanup.service.in
@@ -10,8 +10,7 @@ Description=Cleaning Up and Shutting Down Daemons
DefaultDependencies=no
ConditionPathExists=/etc/initrd-release
OnFailure=emergency.target
-Wants=root-fs.target initrd-fs.target
-After=root-fs.target initrd-fs.target
+After=initrd-root-fs.target initrd-fs.target initrd.target
[Service]
Type=oneshot