chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use new name DRAW_TREE_VERTICAL
[elogind.git]
/
units
/
initrd-parse-etc.service.in
diff --git
a/units/initrd-parse-etc.service.in
b/units/initrd-parse-etc.service.in
index 1a2711ac6255af8283a5a25b3ec986ffc887a0ab..c0b25430bc7efc22c60852a521deb42413384215 100644
(file)
--- a/
units/initrd-parse-etc.service.in
+++ b/
units/initrd-parse-etc.service.in
@@
-8,13
+8,15
@@
[Unit]
Description=Reload Configuration from the Real Root
DefaultDependencies=no
[Unit]
Description=Reload Configuration from the Real Root
DefaultDependencies=no
-Requires=
local-fs.target swap
.target
-After=
local-fs.target swap
.target
+Requires=
initrd-root-fs
.target
+After=
initrd-root-fs
.target
OnFailure=emergency.target
OnFailure=emergency.target
+OnFailureJobMode=replace-irreversibly
ConditionPathExists=/etc/initrd-release
[Service]
Type=oneshot
ExecStartPre=@rootbindir@/systemctl daemon-reload
ConditionPathExists=/etc/initrd-release
[Service]
Type=oneshot
ExecStartPre=@rootbindir@/systemctl daemon-reload
-ExecStart=@rootbindir@/systemctl start local-fs.target
+# we have to retrigger initrd-fs.target after daemon-reload
+ExecStart=-@rootbindir@/systemctl --no-block start initrd-fs.target
ExecStart=@rootbindir@/systemctl --no-block start initrd-cleanup.service
ExecStart=@rootbindir@/systemctl --no-block start initrd-cleanup.service