chiark / gitweb /
main: fix reexecution of systemd, use right path to binary
[elogind.git] / units / emergency.service
index eff5261868566a08cc9af23260882dca2f42718f..234bafcc88b1e69c70d4ad40aba23b12914a26ea 100644 (file)
@@ -21,7 +21,10 @@ 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
+IgnoreSIGPIPE=no
 
 # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
 # terminates cleanly.