summaryrefslogtreecommitdiff
path: root/units/initrd-parse-etc.service
diff options
context:
space:
mode:
Diffstat (limited to 'units/initrd-parse-etc.service')
-rw-r--r--units/initrd-parse-etc.service5
1 files changed, 2 insertions, 3 deletions
diff --git a/units/initrd-parse-etc.service b/units/initrd-parse-etc.service
index 99e8c33978..4bfbb0f9fb 100644
--- a/units/initrd-parse-etc.service
+++ b/units/initrd-parse-etc.service
@@ -8,13 +8,12 @@
[Unit]
Description=Reload Configuration from the Real Root
DefaultDependencies=no
-Requires=initrd-fs.target swap.target sysroot.mount
-After=initrd-fs.target swap.target sysroot.mount
+Requires=local-fs.target swap.target
+After=local-fs.target swap.target
OnFailure=emergency.target
ConditionPathExists=/etc/initrd-release
[Service]
Type=oneshot
ExecStartPre=/usr/bin/systemctl daemon-reload
-ExecStart=/usr/bin/systemctl start initrd-fs.target
ExecStart=/usr/bin/systemctl --no-block start initrd-cleanup.service