mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-06 12:58:22 +03:00
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.
This commit is contained in:
parent
6f4f8056d3
commit
f3b8fbb1da
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user