~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to utopic/lib/systemd/system/console-shell.service

  • Committer: Dimitri John Ledkov
  • Date: 2014-11-19 12:58:41 UTC
  • Revision ID: dimitri.j.ledkov@intel.com-20141119125841-98dr37roy8dvcv3b
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
 
8
 
[Unit]
9
 
Description=Console Shell
10
 
Documentation=man:sulogin(8)
11
 
After=systemd-user-sessions.service plymouth-quit-wait.service
12
 
After=rc-local.service
13
 
Before=getty.target
14
 
 
15
 
[Service]
16
 
Environment=HOME=/root
17
 
WorkingDirectory=/root
18
 
ExecStart=-/sbin/sulogin
19
 
ExecStopPost=-/bin/systemctl poweroff
20
 
Type=idle
21
 
StandardInput=tty-force
22
 
StandardOutput=inherit
23
 
StandardError=inherit
24
 
KillMode=process
25
 
IgnoreSIGPIPE=no
26
 
SendSIGHUP=yes
27
 
 
28
 
[Install]
29
 
WantedBy=getty.target