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:
1 parent
6544d1b970
commit
a079af948b
3 files changed
+10
No files matched your search
Executable
+7
@@ -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