2011-03-14 21:00:53 +01: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
|
2011-03-14 21:00:53 +01:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Console Shell
|
2012-06-27 01:07:04 +02:00
|
|
|
Documentation=man:sulogin(8)
|
2011-03-14 21:00:53 +01:00
|
|
|
After=systemd-user-sessions.service plymouth-quit-wait.service
|
2013-01-04 22:36:48 +01:00
|
|
|
m4_ifdef(`HAVE_SYSV_COMPAT',
|
2011-10-28 19:16:33 +02:00
|
|
|
After=rc-local.service
|
|
|
|
)m4_dnl
|
2011-03-14 21:00:53 +01:00
|
|
|
Before=getty.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment=HOME=/root
|
|
|
|
WorkingDirectory=/root
|
|
|
|
ExecStart=-/sbin/sulogin
|
2012-04-04 06:22:21 +02:00
|
|
|
ExecStopPost=-@SYSTEMCTL@ poweroff
|
2012-04-24 14:28:00 +02:00
|
|
|
Type=idle
|
2011-03-14 21:00:53 +01: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
|
2011-03-14 21:00:53 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=getty.target
|