]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
service: start plymouthd unconditionally
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 10 Sep 2012 20:32:45 +0000 (16:32 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 10 Sep 2012 21:01:51 +0000 (17:01 -0400)
It's possible to get in a state where plymouthd is
started in the initrd but not displayed.  In the
event this happens, we'll neglect to ever show it,
since it already has a pid file.

plymouthd is now hardened against getting called
multiple times, so we no longer need to protect it
at the systemd level.

This commit drops the

ConditionPathExists=!@plymouthruntimedir@/pid

line from the systemd service file, so we always
call plymouthd from the main fs and always call
plymouth show-splash.

systemd-units/plymouth-start.service.in

index aec261776b2570d3415c3e716647b3d07cb3f9df..bbff9f58f7bb0ddd505eccea88756fd1a2d5b158 100644 (file)
@@ -5,7 +5,6 @@ Wants=systemd-ask-password-plymouth.path
 After=systemd-vconsole-setup.service systemd-udev-trigger.service
 Before=systemd-ask-password-plymouth.service
 ConditionKernelCommandLine=!plymouth.enable=0
-ConditionPathExists=!@plymouthruntimedir@/pid
 
 [Service]
 ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach-to-session