summaryrefslogtreecommitdiff
path: root/units/plymouth-start.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-09 14:17:52 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-09 14:17:52 +0100
commite1b2b49465615727a2c3883d06d1b9ff339aec67 (patch)
tree0ef0343f266a9393ae5e8bbc91d6202d6d3988b8 /units/plymouth-start.service
parent0658666bacde7decbc362f0f589fe6aa5251faba (diff)
systemd: show status when run with plymouth, and don't start plymouth a second time when it is already running
Diffstat (limited to 'units/plymouth-start.service')
-rw-r--r--units/plymouth-start.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/units/plymouth-start.service b/units/plymouth-start.service
index 61cb82cde..c3c101eb8 100644
--- a/units/plymouth-start.service
+++ b/units/plymouth-start.service
@@ -12,7 +12,13 @@ Wants=systemd-ask-password-plymouth.path
After=systemd-vconsole-setup.service udev-settle.service
Before=systemd-ask-password-plymouth.service
+# Dracut informs us with this flag file if plymouth is already running
+ConditionPathExists=!/dev/.systemd/plymouth
+
[Service]
ExecStart=/sbin/plymouthd --mode=boot
ExecStartPost=-/bin/plymouth --show-splash
Type=forking
+
+# Send SIGRTMIN+20 to systemd, i.e. enable status messages
+ExecStartPost=-/usr/bin/kill -54 1