chiark / gitweb /
units: forgot target units
[elogind.git] / units / emergency.service
index cb28a783852a172bbe592a8ed7175b5c7fe669ed..4847f4f0c6ef243c878fa6e635cb8976911becf3 100644 (file)
@@ -19,9 +19,11 @@ WorkingDirectory=/root
 ExecStartPre=-/bin/plymouth quit
 ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to activate default mode.'
 ExecStart=-/sbin/sulogin
-ExecStopPost=/bin/systemctl --fail default
+ExecStopPost=/bin/systemctl --fail --no-block default
 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.