chiark / gitweb /
units: set capability bounding set for syslog services
[elogind.git] / units / plymouth-start.service
index 61cb82cde4ad3518680363fd78e9efa43d72e01f..10d03c6c62df5ce92956012f8ad5d1bb9ad4b6b1 100644 (file)
@@ -12,7 +12,10 @@ 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=!/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