From cbe8269481a0272a51d72dc35a54a1fe20c93dfc Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Tue, 20 Sep 2011 12:11:04 +0200 Subject: units: direct stdout/stderr of rescue shells to tty With output of services going to syslog by default now, the rescue shell units need to direct their output to tty explicitly. Specify stderr too, just in case. --- units/emergency.service | 2 ++ 1 file changed, 2 insertions(+) (limited to 'units/emergency.service') diff --git a/units/emergency.service b/units/emergency.service index eff5261868..4847f4f0c6 100644 --- a/units/emergency.service +++ b/units/emergency.service @@ -21,6 +21,8 @@ ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^ ExecStart=-/sbin/sulogin ExecStopPost=/bin/systemctl --fail --no-block default StandardInput=tty-force +StandardOutput=inherit +StandardError=inherit KillMode=process # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash -- cgit v1.2.3-54-g00ecf