]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/emergency.service.in
tmpfiles: support --image= similar to --root=
[thirdparty/systemd.git] / units / emergency.service.in
CommitLineData
a7df2d1e
ZJS
1# SPDX-License-Identifier: LGPL-2.1+
2#
70449379
LP
3# This file is part of systemd.
4#
70449379 5# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
70449379 8# (at your option) any later version.
70449379 9
09477267 10[Unit]
70fcff31 11Description=Emergency Shell
744881d1 12Documentation=man:sulogin(8)
af65a091 13DefaultDependencies=no
de47ca9b 14Conflicts=shutdown.target
87502e58 15Conflicts=rescue.service
de47ca9b 16Before=shutdown.target
6f6d1a8a 17Before=rescue.service
70fcff31
LP
18
19[Service]
739848d4 20Environment=HOME=/root
cde3d687 21WorkingDirectory=-/root
e46736fb 22ExecStartPre=-@rootbindir@/plymouth --wait quit
29f32655 23ExecStart=-@rootlibexecdir@/systemd-sulogin-shell emergency
f2b68789 24Type=idle
f057408c 25StandardInput=tty-force
cbe82694
MS
26StandardOutput=inherit
27StandardError=inherit
cd25cce9 28KillMode=process
353e12c2 29IgnoreSIGPIPE=no
82659fd7 30SendSIGHUP=yes