X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fconsole-shell.service.m4;h=a4a9108b325099b90e66d92e05a7a81f353599f4;hb=e124e7a4a15f89fc6fbdf3e554a86d5a26160624;hp=c98a08fccc7e05bb369e6cd2430d0b455d88788c;hpb=1063dc3a525a87c0285e071794317f71724492fe;p=elogind.git diff --git a/units/console-shell.service.m4 b/units/console-shell.service.m4 index c98a08fcc..a4a9108b3 100644 --- a/units/console-shell.service.m4 +++ b/units/console-shell.service.m4 @@ -31,7 +31,9 @@ WorkingDirectory=/root ExecStart=-/sbin/sulogin ExecStopPost=-/bin/systemctl poweroff StandardInput=tty-force -KillMode=process-group +StandardOutput=inherit +StandardError=inherit +KillMode=process # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash # terminates cleanly.