summaryrefslogtreecommitdiff
path: root/units/rescue.service.in
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel@molkentin.de>2017-03-21 03:26:05 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-03-20 22:26:05 -0400
commit03bf096ba283bfcba0725375f152a823e998cdbc (patch)
treeb67c948eb9cbc937ba85ae6f01e68d68810ae18d /units/rescue.service.in
parent83ddf5d3d8eec696b0e9f2ddf3191e215b0a8498 (diff)
downloadsystemd-03bf096ba283bfcba0725375f152a823e998cdbc.tar.gz
units: apply plymouth warning fix to in rescue mode as well (#5615)
Follow up for #5528.
Diffstat (limited to 'units/rescue.service.in')
-rw-r--r--units/rescue.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/rescue.service.in b/units/rescue.service.in
index 5feff69c89..dc6d14b25a 100644
--- a/units/rescue.service.in
+++ b/units/rescue.service.in
@@ -16,7 +16,7 @@ Before=shutdown.target
[Service]
Environment=HOME=/root
WorkingDirectory=-/root
-ExecStartPre=-/bin/plymouth --wait quit
+ExecStartPre=-/bin/sh -c "[ -x /bin/plymouth ] && /bin/plymouth --wait quit"
ExecStartPre=-/bin/echo -e 'You are in 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.'
ExecStart=-/bin/sh -c "@SULOGIN@; @SYSTEMCTL@ --job-mode=fail --no-block default"
Type=idle