]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/debug-shell.service.in
Merge pull request #1142 from dvdhrm/proxy-nofile
[thirdparty/systemd.git] / units / debug-shell.service.in
CommitLineData
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 9Description=Early root shell on @DEBUGTTY@ FOR DEBUGGING ONLY
744881d1 10Documentation=man:sushell(8)
ed061a8d
MS
11DefaultDependencies=no
12IgnoreOnIsolate=yes
0138a2dc 13ConditionPathExists=@DEBUGTTY@
ed061a8d
MS
14
15[Service]
16Environment=TERM=linux
5ec6b15b 17ExecStart=@SUSHELL@
ed061a8d
MS
18Restart=always
19RestartSec=0
20StandardInput=tty
5ec6b15b 21TTYPath=@DEBUGTTY@
ed061a8d
MS
22TTYReset=yes
23TTYVHangup=yes
24KillMode=process
25IgnoreSIGPIPE=no
26# bash ignores SIGTERM
27KillSignal=SIGHUP
28
29# Unset locale for the console getty since the console has problems
30# displaying some internationalized messages.
31Environment=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]
34WantedBy=sysinit.target