]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
systemd: switch to KillMode=mixed
authorRay Strode <rstrode@redhat.com>
Tue, 25 Aug 2020 14:49:11 +0000 (10:49 -0400)
committerRay Strode <halfline@gmail.com>
Mon, 22 Feb 2021 12:45:11 +0000 (12:45 +0000)
KillMode=none is deprecated, so we need to stop using it.

For now, use `KillMode=mixed` and `IgnoreOnIsolate=true` instead.

In the future, we should change plymouth to be able to exit and
start again without restarting the active animation, but that's
going to require some effort.

https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/123

systemd-units/plymouth-start.service.in

index 3d00cc6f3162d61d49db817f56f03ed3f26ca56d..830a62dba43f660b87aa9ef5530ec4544f00da99 100644 (file)
@@ -6,11 +6,12 @@ After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.
 Before=systemd-ask-password-plymouth.service
 ConditionKernelCommandLine=!plymouth.enable=0
 ConditionVirtualization=!container
+IgnoreOnIsolate=true
 
 [Service]
 ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach-to-session
 ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
 Type=forking
 RemainAfterExit=yes
-KillMode=none
+KillMode=mixed
 SendSIGKILL=no