summaryrefslogtreecommitdiff
path: root/units/rescue.service.m4
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-09-20 12:11:04 +0200
committerMichal Schmidt <mschmidt@redhat.com>2011-09-20 12:15:48 +0200
commitcbe8269481a0272a51d72dc35a54a1fe20c93dfc (patch)
tree26feb829dce4d52aae65e8c4220e7f401f33abc9 /units/rescue.service.m4
parentd6bca18e28268485619127024fd944b8497798a7 (diff)
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.
Diffstat (limited to 'units/rescue.service.m4')
-rw-r--r--units/rescue.service.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/units/rescue.service.m4 b/units/rescue.service.m4
index d2fd582e86..5b4ab6efb6 100644
--- a/units/rescue.service.m4
+++ b/units/rescue.service.m4
@@ -31,6 +31,8 @@ m4_ifdef(`TARGET_MEEGO',
ExecStart=-/bin/bash -c "exec ${SINGLE}"',)))
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