chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
units: direct stdout/stderr of rescue shells to tty
[elogind.git]
/
units
/
console-shell.service.m4
diff --git
a/units/console-shell.service.m4
b/units/console-shell.service.m4
index cce2d5a5a44e95e9bb45b2fecff852626544005d..a4a9108b325099b90e66d92e05a7a81f353599f4 100644
(file)
--- a/
units/console-shell.service.m4
+++ b/
units/console-shell.service.m4
@@
-31,6
+31,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