systemd: configure a 25s stop timeout for the user manager too (hopefully)

This commit is contained in:
Colin 2024-02-20 13:11:47 +00:00
parent e92db138ef
commit d596d005ca

View File

@ -2,7 +2,11 @@
{
systemd.extraConfig = ''
# DefaultTimeoutStopSec defaults to 90s, and frequently blocks overall system shutdown.
# note that the values for the system manager and the user service manager must be set separately.
DefaultTimeoutStopSec=25
'';
systemd.user.extraConfig = ''
# DefaultTimeoutStopSec defaults to 90s, and frequently blocks overall system shutdown.
DefaultTimeoutStopSec=25
'';