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:
parent
403bb0bd19
commit
c569892406
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue