chiark / gitweb /
units/initrd-*: require initrd-fs.target rather than local-fs.target
[elogind.git] / units / initrd-parse-etc.service
index 4bfbb0f9fbce7a76399fe014084d988cd4e6a109..99e8c33978c14e6fec6097a979b895f2a1c269c9 100644 (file)
@@ -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