systemd: reduce the stop job timeout
This commit is contained in:
parent
0b6b98bba6
commit
273b1b84e3
|
@ -65,6 +65,12 @@
|
||||||
# TODO: see if i can remove this?
|
# TODO: see if i can remove this?
|
||||||
nix.settings.trusted-users = [ "root" ];
|
nix.settings.trusted-users = [ "root" ];
|
||||||
|
|
||||||
|
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
|
||||||
|
'';
|
||||||
|
|
||||||
services.journald.extraConfig = ''
|
services.journald.extraConfig = ''
|
||||||
# docs: `man journald.conf`
|
# docs: `man journald.conf`
|
||||||
# merged journald config is deployed to /etc/systemd/journald.conf
|
# merged journald config is deployed to /etc/systemd/journald.conf
|
||||||
|
|
Loading…
Reference in New Issue
Block a user