On Sun, 2022-07-17 at 17:13 +0100, Patrick O'Callaghan wrote:
On Sun, 2022-07-17 at 17:03 +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
> > Patrick O'Callaghan wrote:
> >
> > > OK. Where is that configured (too lazy to look it up :-)?
> >
> > I made this chage: "DefaultTimeoutStopSec=5s" in both
> > /etc/systemd/system.conf and /etc/systemd/user.conf
>
> Thanks, though one is obliged to wonder why this variable is set in
> two places.
Actually, according to systemd-system.conf(5), it looks like the
proper place to do this is with a file under
/usr/lib/systemd/system.conf.d, similar to the old rc.d init files.
Presumably that will avoid the setting being overwritten by a new
install.
Well, that was a bust. Turns out that you do have to edit the standard
file(s) to have any effect. Another example of the systemd docs being
understandable only to a lawyer (or there's an actual bug).
Anyway, it appears to work now. Thanks again to Tom.
poc