chiark / gitweb /
plymouth: use PID file to detect whether ply is running
[elogind.git] / units / plymouth-start.service
index 6ab51f32af25e8a7545f4548176e23fcf11a9749..10d03c6c62df5ce92956012f8ad5d1bb9ad4b6b1 100644 (file)
@@ -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