mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-18 02:31:01 +01:00
6 lines
220 B
Bash
6 lines
220 B
Bash
SYSTEMD="/etc/systemd/system.conf"
|
|
|
|
# Change the default timeout from 90s to 10s, preventing the system from hanging at shutdown
|
|
echo "DefaultTimeoutStartSec=10s" >> $SYSTEMD
|
|
echo "DefaultTimeoutStopSec=10s" >> $SYSTEMD
|