On Mon, 15 Aug 2022 12:19:20 +0100 Patrick O'Callaghan wrote:
On Sun, 2022-07-17 at 10:27 -0400, Tom Horsley wrote:
> On Sun, 17 Jul 2022 15:17:56 +0100
> I made this chage: "DefaultTimeoutStopSec=5s" in both
> /etc/systemd/system.conf and /etc/systemd/user.conf
This solution has simply stopped working.
This did work for a time, but now makes no difference. I've
changed
nothing apart from system updates.
Those updates may have changed some TimeoutStopSec= under /usr/lib/systemd/user
I once again have to manually kill the offending process (kded) to
avoid a 90-second delay on shutdown/reboot/re-login.
You can try to override the plasma-kded.service itself as follows:
mkdir -p ~/.config/systemd/user/plasma-kded.service.d
cat > ~/.config/systemd/user/plasma-kded.service.d/stop.conf <<EOF
[Service]
TimeoutStopSec=5s
EOF
systemctl --user daemon-reload
There is also the TimeoutAbortSec= (and DefaultTimeoutAbortSec=) parameter,
but plasma-kded.service do not declare Type=notify and thus this should not
apply.
--
francis