X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fplymouth-start.service;h=f618257a937babb57bce4fa4f9d9e050aca38e79;hp=61cb82cde4ad3518680363fd78e9efa43d72e01f;hb=57020a3abff20f176e9f0cbb982d7977119d6f08;hpb=cd3f8b7ddb052ab5e4eab420968bae689db3899a diff --git a/units/plymouth-start.service b/units/plymouth-start.service index 61cb82cde..f618257a9 100644 --- a/units/plymouth-start.service +++ b/units/plymouth-start.service @@ -12,7 +12,11 @@ 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 +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