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