2017-11-18 08:35:03 -08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
2012-06-28 03:13:52 -07:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
2012-06-07 07:03:33 -07:00
|
|
|
[Unit]
|
2013-03-25 10:49:55 -07:00
|
|
|
Description=Early root shell on @DEBUGTTY@ FOR DEBUGGING ONLY
|
2012-06-26 16:07:04 -07:00
|
|
|
Documentation=man:sushell(8)
|
2017-12-24 07:51:45 -08:00
|
|
|
Documentation=man:systemd-debug-generator(8)
|
2012-06-07 07:03:33 -07:00
|
|
|
DefaultDependencies=no
|
|
|
|
IgnoreOnIsolate=yes
|
2014-06-12 13:26:43 -07:00
|
|
|
ConditionPathExists=@DEBUGTTY@
|
2012-06-07 07:03:33 -07:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment=TERM=linux
|
2013-03-25 10:49:55 -07:00
|
|
|
ExecStart=@SUSHELL@
|
2012-06-07 07:03:33 -07:00
|
|
|
Restart=always
|
|
|
|
RestartSec=0
|
|
|
|
StandardInput=tty
|
2013-03-25 10:49:55 -07:00
|
|
|
TTYPath=@DEBUGTTY@
|
2012-06-07 07:03:33 -07:00
|
|
|
TTYReset=yes
|
|
|
|
TTYVHangup=yes
|
|
|
|
KillMode=process
|
|
|
|
IgnoreSIGPIPE=no
|
|
|
|
# bash ignores SIGTERM
|
|
|
|
KillSignal=SIGHUP
|
|
|
|
|
|
|
|
# Unset locale for the console getty since the console has problems
|
|
|
|
# displaying some internationalized messages.
|
2017-09-10 03:19:02 -07:00
|
|
|
UnsetEnvironment=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
|
2012-06-07 07:03:33 -07:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=sysinit.target
|