2017-11-18 16:35:03 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
2010-07-12 22:04:14 +00:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-11 22:20:58 +00:00
|
|
|
# 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
|
2010-07-12 22:04:14 +00:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Rescue Shell
|
2012-06-26 23:07:04 +00:00
|
|
|
Documentation=man:sulogin(8)
|
2010-07-12 22:04:14 +00:00
|
|
|
DefaultDependencies=no
|
2010-10-29 02:09:36 +00:00
|
|
|
Conflicts=shutdown.target
|
2012-05-22 14:12:25 +00:00
|
|
|
After=sysinit.target plymouth-start.service
|
2010-10-29 02:09:36 +00:00
|
|
|
Before=shutdown.target
|
2010-07-12 22:04:14 +00:00
|
|
|
|
|
|
|
[Service]
|
2010-09-10 14:53:53 +00:00
|
|
|
Environment=HOME=/root
|
2016-01-17 16:25:42 +00:00
|
|
|
WorkingDirectory=-/root
|
2020-04-07 12:00:28 +00:00
|
|
|
ExecStartPre=-@rootbindir@/plymouth --wait quit
|
2017-03-23 03:37:06 +00:00
|
|
|
ExecStart=-@rootlibexecdir@/systemd-sulogin-shell rescue
|
2012-04-24 12:28:00 +00:00
|
|
|
Type=idle
|
2010-07-12 22:04:14 +00:00
|
|
|
StandardInput=tty-force
|
2011-09-20 10:11:04 +00:00
|
|
|
StandardOutput=inherit
|
|
|
|
StandardError=inherit
|
2011-03-29 21:31:38 +00:00
|
|
|
KillMode=process
|
2013-07-29 23:54:59 +00:00
|
|
|
IgnoreSIGPIPE=no
|
|
|
|
SendSIGHUP=yes
|