]>
Commit | Line | Data |
---|---|---|
454591be LP |
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 | ||
ed061a8d | 8 | [Unit] |
5ec6b15b | 9 | Description=Early root shell on @DEBUGTTY@ FOR DEBUGGING ONLY |
744881d1 | 10 | Documentation=man:sushell(8) |
ed061a8d MS |
11 | DefaultDependencies=no |
12 | IgnoreOnIsolate=yes | |
0138a2dc | 13 | ConditionPathExists=@DEBUGTTY@ |
ed061a8d MS |
14 | |
15 | [Service] | |
16 | Environment=TERM=linux | |
5ec6b15b | 17 | ExecStart=@SUSHELL@ |
ed061a8d MS |
18 | Restart=always |
19 | RestartSec=0 | |
20 | StandardInput=tty | |
5ec6b15b | 21 | TTYPath=@DEBUGTTY@ |
ed061a8d MS |
22 | TTYReset=yes |
23 | TTYVHangup=yes | |
24 | KillMode=process | |
25 | IgnoreSIGPIPE=no | |
26 | # bash ignores SIGTERM | |
27 | KillSignal=SIGHUP | |
28 | ||
29 | # Unset locale for the console getty since the console has problems | |
30 | # displaying some internationalized messages. | |
31 | Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= | |
32 | ||
33 | [Install] | |
34 | WantedBy=sysinit.target |