Merge pull request #223 from ryanrhughes/improve-boot-times

Improve boot times
This commit is contained in:
David Heinemeier Hansson
2025-07-18 14:26:27 -07:00
parent 45b5d3ea47
commit 2224249901
3 changed files with 32 additions and 0 deletions

15
migrations/1752797704.sh Normal file
View File

@ -0,0 +1,15 @@
echo "Prevent docker from requiring network readiness on boot"
sudo mkdir -p /etc/systemd/system/docker.service.d/
sudo tee /etc/systemd/system/docker.service.d/no-block-boot.conf <<'EOF'
[Unit]
DefaultDependencies=no
EOF
sudo mkdir -p /etc/systemd/system/plymouth-quit.service.d/
sudo tee /etc/systemd/system/plymouth-quit.service.d/wait-for-graphical.conf <<'EOF'
[Unit]
After=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl mask plymouth-quit-wait.service