]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/sysinit.target
bootspec: add missing free() in boot_config_free()
[thirdparty/systemd.git] / units / sysinit.target
index 8d01cbdc1b2bd06f268ee236f03562cb47b73520..b6c16a14120f88f817470a0669a5f32406c06872 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
@@ -8,13 +10,6 @@
 [Unit]
 Description=System Initialization
 Documentation=man:systemd.special(7)
-Wants=swap.target local-fs.target
-After=swap.target local-fs.target
-
-# local-fs.target uses OnFailure="emergency.target" to start an emergency
-# shell.  In that case we also need to cancel everything that relies on
-# local-fs.target.  Flooding the screen with yellow [DEPEND] failures would
-# be unhelpful.  Therefore we break the chain here.  We use a Wants
-# dependency instead of Requires, and use a Conflict with emergency.target,
-# so that we are cancelled without actually failing any more units.
-Conflicts=emergency.target
+Conflicts=emergency.service emergency.target
+Wants=local-fs.target swap.target
+After=local-fs.target swap.target emergency.service emergency.target