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/plymouth/pid
+ConditionKernelCommandLine=!plymouth.enable=0
+
[Service]
-ExecStart=/sbin/plymouthd --mode=boot
+ExecStart=/sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid
ExecStartPost=-/bin/plymouth --show-splash
Type=forking