summaryrefslogtreecommitdiff
path: root/units/initrd-parse-etc.service
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-03-04 19:03:05 +0100
committerHarald Hoyer <harald@redhat.com>2013-03-04 19:33:50 +0100
commit7d89ce303fb59743a4392eeb3110c00f100172ca (patch)
tree488d892d202f437e6b825d3166df8afa544a674e /units/initrd-parse-etc.service
parent39b83cdab37623a546344622db9bbbc784c15df5 (diff)
units/initrd-*: require initrd-fs.target rather than local-fs.target
Diffstat (limited to 'units/initrd-parse-etc.service')
-rw-r--r--units/initrd-parse-etc.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/units/initrd-parse-etc.service b/units/initrd-parse-etc.service
index 4bfbb0f9fb..99e8c33978 100644
--- a/units/initrd-parse-etc.service
+++ b/units/initrd-parse-etc.service
@@ -8,12 +8,13 @@
[Unit]
Description=Reload Configuration from the Real Root
DefaultDependencies=no
-Requires=local-fs.target swap.target
-After=local-fs.target swap.target
+Requires=initrd-fs.target swap.target sysroot.mount
+After=initrd-fs.target swap.target sysroot.mount
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