X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fconsole-shell.service.m4;h=fef9e1b176265c9d7cca18ff406a836b6ea7b994;hb=231931ffba1bca9d8759bbd6f797e56f8c6971fa;hp=c98a08fccc7e05bb369e6cd2430d0b455d88788c;hpb=1063dc3a525a87c0285e071794317f71724492fe;p=elogind.git diff --git a/units/console-shell.service.m4 b/units/console-shell.service.m4 index c98a08fcc..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 -KillMode=process-group +StandardOutput=inherit +StandardError=inherit +KillMode=process +IgnoreSIGPIPE=no # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash # terminates cleanly.