From: Ray Strode Date: Tue, 25 Aug 2020 14:49:11 +0000 (-0400) Subject: systemd: switch to KillMode=mixed X-Git-Tag: 22.02.122~25^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d0f8b2e7bc2d1d2b0900fcdf119bb9a2cc4f474;p=thirdparty%2Fplymouth.git systemd: switch to KillMode=mixed 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 --- diff --git a/systemd-units/plymouth-start.service.in b/systemd-units/plymouth-start.service.in index 3d00cc6f..830a62db 100644 --- a/systemd-units/plymouth-start.service.in +++ b/systemd-units/plymouth-start.service.in @@ -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