]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/debug-shell.service.in
install: create_symlink() check unlink() return value
[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
13
14[Service]
15Environment=TERM=linux
5ec6b15b 16ExecStart=@SUSHELL@
ed061a8d
MS
17Restart=always
18RestartSec=0
19StandardInput=tty
5ec6b15b 20TTYPath=@DEBUGTTY@
ed061a8d
MS
21TTYReset=yes
22TTYVHangup=yes
23KillMode=process
24IgnoreSIGPIPE=no
25# bash ignores SIGTERM
26KillSignal=SIGHUP
27
28# Unset locale for the console getty since the console has problems
29# displaying some internationalized messages.
30Environment=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]
33WantedBy=sysinit.target