]>
Commit | Line | Data |
---|---|---|
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 | 11 | Description=Emergency Shell |
744881d1 | 12 | Documentation=man:sulogin(8) |
af65a091 | 13 | DefaultDependencies=no |
de47ca9b | 14 | Conflicts=shutdown.target |
87502e58 | 15 | Conflicts=rescue.service |
de47ca9b | 16 | Before=shutdown.target |
6f6d1a8a | 17 | Before=rescue.service |
70fcff31 LP |
18 | |
19 | [Service] | |
739848d4 | 20 | Environment=HOME=/root |
cde3d687 | 21 | WorkingDirectory=-/root |
912a0f21 | 22 | ExecStartPre=-/bin/plymouth --wait quit |
29f32655 | 23 | ExecStart=-@rootlibexecdir@/systemd-sulogin-shell emergency |
f2b68789 | 24 | Type=idle |
f057408c | 25 | StandardInput=tty-force |
cbe82694 MS |
26 | StandardOutput=inherit |
27 | StandardError=inherit | |
cd25cce9 | 28 | KillMode=process |
353e12c2 | 29 | IgnoreSIGPIPE=no |
82659fd7 | 30 | SendSIGHUP=yes |