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.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/initrd-cleanup.service.in b/units/initrd-cleanup.service.in
index e926a1eec2..5bef090e08 100644
--- a/units/initrd-cleanup.service.in
+++ b/units/initrd-cleanup.service.in
@@ -10,8 +10,8 @@ Description=Cleaning Up and Shutting Down Daemons
DefaultDependencies=no
ConditionPathExists=/etc/initrd-release
OnFailure=emergency.target
-Requires=local-fs.target swap.target
-After=local-fs.target swap.target
+Wants=root-fs.target initrd-fs.target
+After=root-fs.target initrd-fs.target
[Service]
Type=oneshot