chiark / gitweb /
Revert "journalctl: remove unexpected behavior of journalctl -b"
[elogind.git] / units / debug-shell.service.in
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=Early root shell on @DEBUGTTY@ FOR DEBUGGING ONLY
10 Documentation=man:sushell(8)
11 DefaultDependencies=no
12 IgnoreOnIsolate=yes
13
14 [Service]
15 Environment=TERM=linux
16 ExecStart=@SUSHELL@
17 Restart=always
18 RestartSec=0
19 StandardInput=tty
20 TTYPath=@DEBUGTTY@
21 TTYReset=yes
22 TTYVHangup=yes
23 KillMode=process
24 IgnoreSIGPIPE=no
25 # bash ignores SIGTERM
26 KillSignal=SIGHUP
27
28 # Unset locale for the console getty since the console has problems
29 # displaying some internationalized messages.
30 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=
31
32 [Install]
33 WantedBy=sysinit.target