Skip to content

Commit ce3eb77

Browse files
fbuihuupoettering
authored andcommitted
units: wait for plymouth to shut down in rescue.sevice (systemd#3367)
In the same vein as commit ac59f0c which added the --wait option to the emergency service, this patch makes sure that plymouth has exited before entering into the rescue mode.
1 parent e33a06a commit ce3eb77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/rescue.service.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Before=shutdown.target
1616
[Service]
1717
Environment=HOME=/root
1818
WorkingDirectory=-/root
19-
ExecStartPre=-/bin/plymouth quit
19+
ExecStartPre=-/bin/plymouth --wait quit
2020
ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" or ^D to\\nboot into default mode.'
2121
ExecStart=-/bin/sh -c "@SULOGIN@; @SYSTEMCTL@ --job-mode=fail --no-block default"
2222
Type=idle

0 commit comments

Comments
 (0)