X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fconsole-shell.service.m4;h=02adc8403bce675aec336ec6a981c533f7bdb3d8;hb=ebda471d898063887008ede9811ffbe1acbc38e5;hp=cce2d5a5a44e95e9bb45b2fecff852626544005d;hpb=cd25cce98f5cc930202212c3c9c13605c09698b4;p=elogind.git diff --git a/units/console-shell.service.m4 b/units/console-shell.service.m4 index cce2d5a5a..02adc8403 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,6 +34,8 @@ WorkingDirectory=/root ExecStart=-/sbin/sulogin ExecStopPost=-/bin/systemctl poweroff StandardInput=tty-force +StandardOutput=inherit +StandardError=inherit KillMode=process # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash