summaryrefslogtreecommitdiff
path: root/units/plymouth-start.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-31 04:26:40 +0200
committerLennart Poettering <lennart@poettering.net>2011-03-31 04:26:40 +0200
commit9408a2d295a312a5472345090e28e0502570494b (patch)
treefd660dddb7b41562342cca0832005b31911f84e7 /units/plymouth-start.service
parentf695b3b09b672c327c5b525ed7a2390c4b99a67e (diff)
plymouth: use PID file to detect whether ply is running
Diffstat (limited to 'units/plymouth-start.service')
-rw-r--r--units/plymouth-start.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/plymouth-start.service b/units/plymouth-start.service
index 6ab51f32a..10d03c6c6 100644
--- a/units/plymouth-start.service
+++ b/units/plymouth-start.service
@@ -13,9 +13,9 @@ 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=!/run/initramfs/plymouth
+ConditionPathExists=!/run/plymouth/pid
[Service]
-ExecStart=/sbin/plymouthd --mode=boot
+ExecStart=/sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid
ExecStartPost=-/bin/plymouth --show-splash
Type=forking