systemd: shorten DefaultTimeoutStopSec to 10s

Eliminates the long "stop job on user ID 1000" / watchdog hang on shutdown.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
rope 2026-05-16 19:41:21 +01:00
parent 403bb0bd19
commit c569892406

View file

@ -57,6 +57,9 @@
# in broken states across sessions (e.g. waybar failing to start on re-login). # in broken states across sessions (e.g. waybar failing to start on re-login).
services.logind.settings.Login.KillUserProcesses = true; services.logind.settings.Login.KillUserProcesses = true;
# Shorten shutdown stop timeout to avoid long "stop job" waits
systemd.settings.Manager.DefaultTimeoutStopSec = "10s";
# Make boot time quicker # Make boot time quicker
boot.loader.timeout = lib.mkDefault 5; boot.loader.timeout = lib.mkDefault 5;
systemd.services.NetworkManager-wait-online.enable = false; systemd.services.NetworkManager-wait-online.enable = false;