mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Use real config files as much as possible
This commit is contained in:
2
default/systemd/faster-shutdown.conf
Normal file
2
default/systemd/faster-shutdown.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[Manager]
|
||||||
|
DefaultTimeoutStopSec=5s
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user