summaryrefslogtreecommitdiff
path: root/units/initrd.target
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-02-05 13:11:01 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-02-05 18:34:30 +0100
commitc7220ca8025e8dbded36131b23a502d975c45754 (patch)
treed4afd22bf57588b946bc9ff778a9fad135968b92 /units/initrd.target
parente0e2112f618450e8836836e71fe9b1b422a6d63e (diff)
downloadsystemd-c7220ca8025e8dbded36131b23a502d975c45754.tar.gz
units: drop OnFailure= from .target units
See c80a9a33d04fb4381327a69ce929c94a9f1d0e6c, target units can't fail. I guess we need to figure out some replacement functionality, but at least let's avoid the warning from systemd for now.
Diffstat (limited to 'units/initrd.target')
-rw-r--r--units/initrd.target2
1 files changed, 0 insertions, 2 deletions
diff --git a/units/initrd.target b/units/initrd.target
index a74a447c91..30b3bd04d2 100644
--- a/units/initrd.target
+++ b/units/initrd.target
@@ -10,8 +10,6 @@
[Unit]
Description=Initrd Default Target
Documentation=man:systemd.special(7)
-OnFailure=emergency.target
-OnFailureJobMode=replace-irreversibly
ConditionPathExists=/etc/initrd-release
Requires=basic.target
Wants=initrd-root-fs.target initrd-root-device.target initrd-fs.target initrd-parse-etc.service