summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2014-09-03 13:28:31 +0200
committerHarald Hoyer <harald@redhat.com>2014-09-03 13:28:31 +0200
commitf3b8fbb1da6519e14985ea444f8304673d20ad3f (patch)
tree37f8efc04e319218f4d9889d20e2b218f96ad404 /units
parent6f4f8056d3f972c1e6ee7f5fc40ed283fd93152a (diff)
initrd-parse-etc.service: ignore return code of daemon-reload
It seems the return code of systemctl daemon-reload can be !=0 in some circumstances, which causes a failure of the unit and breaks booting in the initrd.
Diffstat (limited to 'units')
-rw-r--r--units/initrd-parse-etc.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/initrd-parse-etc.service.in b/units/initrd-parse-etc.service.in
index c0b25430bc..42c059bbd2 100644
--- a/units/initrd-parse-etc.service.in
+++ b/units/initrd-parse-etc.service.in
@@ -16,7 +16,7 @@ ConditionPathExists=/etc/initrd-release
[Service]
Type=oneshot
-ExecStartPre=@rootbindir@/systemctl daemon-reload
+ExecStartPre=-@rootbindir@/systemctl daemon-reload
# 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