X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=units%2Fconsole-shell.service.m4;h=fef9e1b176265c9d7cca18ff406a836b6ea7b994;hb=816115863962548a9a0d9fbfe429c7f8e685beac;hp=cce2d5a5a44e95e9bb45b2fecff852626544005d;hpb=cd25cce98f5cc930202212c3c9c13605c09698b4;p=elogind.git diff --git a/units/console-shell.service.m4 b/units/console-shell.service.m4 index cce2d5a5a..fef9e1b17 100644 --- a/units/console-shell.service.m4 +++ b/units/console-shell.service.m4 @@ -23,6 +23,9 @@ After=rc-local.service m4_ifdef(`TARGET_MANDRIVA', After=rc-local.service )m4_dnl +m4_ifdef(`TARGET_MAGEIA', +After=rc-local.service +)m4_dnl Before=getty.target [Service] @@ -31,7 +34,10 @@ WorkingDirectory=/root ExecStart=-/sbin/sulogin ExecStopPost=-/bin/systemctl poweroff StandardInput=tty-force +StandardOutput=inherit +StandardError=inherit KillMode=process +IgnoreSIGPIPE=no # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash # terminates cleanly.