]> err.no Git - systemd/commitdiff
units: add --no-block when starting normal service after shell exited
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Apr 2011 21:29:51 +0000 (23:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 16 Apr 2011 00:03:33 +0000 (02:03 +0200)
units/emergency.service
units/rescue.service.m4

index a97ec5e389b4000387030bd746ec0022f8de2ae2..eff5261868566a08cc9af23260882dca2f42718f 100644 (file)
@@ -19,7 +19,7 @@ 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
 
index 241c75071f635d42517ee8f830e7ec554388a62b..b48d085024060c7c383a741eaf9863686e578051 100644 (file)
@@ -26,7 +26,7 @@ m4_ifdef(`TARGET_MANDRIVA',
 `EnvironmentFile=/etc/sysconfig/init
 ExecStart=-/bin/bash -c "exec ${SINGLE}"',
 `ExecStart=-/sbin/sulogin'))
-ExecStopPost=-/bin/systemctl --fail default
+ExecStopPost=-/bin/systemctl --fail --no-block default
 StandardInput=tty-force
 KillMode=process