mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
units: add --no-block when starting normal service after shell exited
This commit is contained in:
parent
619c2581a2
commit
7f62e3774c
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user