Use real config files as much as possible

This commit is contained in:
David Heinemeier Hansson
2026-02-07 10:37:39 +01:00
parent ebfb7f16e8
commit 3bbb57b54d
2 changed files with 3 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
[Manager]
DefaultTimeoutStopSec=5s

View File

@@ -1,7 +1,3 @@
sudo mkdir -p /etc/systemd/system.conf.d sudo mkdir -p /etc/systemd/system.conf.d
sudo cp "$OMARCHY_PATH/default/systemd/faster-shutdown.conf" /etc/systemd/system.conf.d/10-faster-shutdown.conf
cat <<EOF | sudo tee /etc/systemd/system.conf.d/10-faster-shutdown.conf
[Manager]
DefaultTimeoutStopSec=5s
EOF
sudo systemctl daemon-reload sudo systemctl daemon-reload