]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/sysinit.target
Merge pull request #6830 from keszybz/generator-dirs
[thirdparty/systemd.git] / units / sysinit.target
1 # This file is part of systemd.
2 #
3 # systemd is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2.1 of the License, or
6 # (at your option) any later version.
7
8 [Unit]
9 Description=System Initialization
10 Documentation=man:systemd.special(7)
11 Wants=swap.target local-fs.target
12 After=swap.target local-fs.target
13
14 # local-fs.target uses OnFailure="emergency.target" to start an emergency
15 # shell. In that case we also need to cancel everything that relies on
16 # local-fs.target. Flooding the screen with yellow [DEPEND] failures would
17 # be unhelpful. Therefore we break the chain here. We use a Wants
18 # dependency instead of Requires, and use a Conflict with emergency.target,
19 # so that we are cancelled without actually failing any more units.
20 Conflicts=emergency.target