]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/initrd-parse-etc.service.in
sd-bus: if we receive an invalid dbus message, ignore and proceeed
[thirdparty/systemd.git] / units / initrd-parse-etc.service.in
index 44fee7bd34425e2c3827b78dc5e754cfb6e8a42b..2b3cd61cd6014f4cebc637fb237b34dc18a8e2f4 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
 [Unit]
 Description=Reload Configuration from the Real Root
 DefaultDependencies=no
-Requires=root-fs.target
-After=root-fs.target
+Requires=initrd-root-fs.target
+After=initrd-root-fs.target
 OnFailure=emergency.target
+OnFailureJobMode=replace-irreversibly
 ConditionPathExists=/etc/initrd-release
 
 [Service]
 Type=oneshot
-ExecStartPre=@rootbindir@/systemctl daemon-reload
-ExecStart=@rootbindir@/systemctl start initrd-fs.target
+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