]>
Commit | Line | Data |
---|---|---|
a7df2d1e ZJS |
1 | # SPDX-License-Identifier: LGPL-2.1+ |
2 | # | |
0667db89 LP |
3 | # This file is part of systemd. |
4 | # | |
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 | |
0667db89 LP |
8 | # (at your option) any later version. |
9 | ||
0667db89 LP |
10 | [Unit] |
11 | Description=Rescue Shell | |
744881d1 | 12 | Documentation=man:sulogin(8) |
0667db89 | 13 | DefaultDependencies=no |
de47ca9b | 14 | Conflicts=shutdown.target |
49e7f027 | 15 | After=sysinit.target plymouth-start.service |
de47ca9b | 16 | Before=shutdown.target |
0667db89 LP |
17 | |
18 | [Service] | |
739848d4 | 19 | Environment=HOME=/root |
cde3d687 | 20 | WorkingDirectory=-/root |
912a0f21 | 21 | ExecStartPre=-/bin/plymouth --wait quit |
29f32655 | 22 | ExecStart=-@rootlibexecdir@/systemd-sulogin-shell rescue |
f2b68789 | 23 | Type=idle |
0667db89 | 24 | StandardInput=tty-force |
cbe82694 MS |
25 | StandardOutput=inherit |
26 | StandardError=inherit | |
cd25cce9 | 27 | KillMode=process |
82659fd7 LP |
28 | IgnoreSIGPIPE=no |
29 | SendSIGHUP=yes |