mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Change default shutdown timeout to 5sec (#1886)
* Shutdown faster * Add migration * Reduce shutdown timeout from 10s to 5s --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
7
install/config/fast-shutdown.sh
Executable file
7
install/config/fast-shutdown.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
sudo mkdir -p /etc/systemd/system.conf.d
|
||||
|
||||
cat <<EOF | sudo tee /etc/systemd/system.conf.d/10-faster-shutdown.conf
|
||||
[Manager]
|
||||
DefaultTimeoutStopSec=5s
|
||||
EOF
|
||||
sudo systemctl daemon-reload
|
||||
Reference in New Issue
Block a user