Update init

This commit is contained in:
Dai
2025-10-09 19:10:25 -07:00
parent 7493fdf4aa
commit 578d6a1a7f

2
init
View File

@@ -8,7 +8,6 @@ SCRIPT_PATH=$(dirname "$(realpath "${BASH_SOURCE[0]}")")
# Enable nginx to start with system # Enable nginx to start with system
sudo systemctl enable --now nginx sudo systemctl enable --now nginx
sudo systemctl status nginx
# Setup nginx # Setup nginx
sudo rm /etc/nginx/sites-enabled/default sudo rm /etc/nginx/sites-enabled/default
@@ -20,6 +19,7 @@ sudo nginx -t
# Restart nginx after loading wordpress config # Restart nginx after loading wordpress config
sudo systemctl restart nginx sudo systemctl restart nginx
sudo systemctl status nginx
# PHP # PHP
sudo systemctl enable --now php8.4-fpm sudo systemctl enable --now php8.4-fpm