On Mon, 15 Aug 2022 12:19:20 +0100 Patrick O'Callaghan wrote:
This solution has simply stopped working. The default timeout is
indeed
set as described:
$ systemctl show --property=DefaultTimeoutStopUSec
DefaultTimeoutStopUSec=5s
Have you checked also for systemctl --user ?
(note the strange and undocumented "USec" rather than
"Sec", which you
have to use to get the value despite "Sec" being used in setting the
property)
I have seen that and though as you that it was not documented, but it is.
Go first in man systemd.directives, then search for it:
TimeoutStopUSec
org.freedesktop.systemd1(5)
then search for it in the man of org.freedesktop.systemd1: around the line
number 1956 ... :-)
This reflects that fact that internally the service manager deals in
microsecond units only
--
francis