Commit 9408a2d2 authored by Lennart Poettering's avatar Lennart Poettering

plymouth: use PID file to detect whether ply is running

parent f695b3b0
......@@ -33,6 +33,10 @@ F15:
* selinux issue
* do not print errors when random seed is not around
* fix alsa mixer restore to not print error when no config is stored
* Find a way to replace /var/run, /var/lock directories with
......@@ -4189,7 +4189,7 @@ bool nulstr_contains(const char*nulstr, const char *needle) {
bool plymouth_running(void) {
return access("/run/initramfs/plymouth", F_OK) >= 0;
return access("/run/plymouth/pid", F_OK) >= 0;
static const char *const ioprio_class_table[] = {
......@@ -13,9 +13,9 @@ After=systemd-vconsole-setup.service udev-settle.service
# Dracut informs us with this flag file if plymouth is already running
ExecStart=/sbin/plymouthd --mode=boot
ExecStart=/sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid
ExecStartPost=-/bin/plymouth --show-splash
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment