Update init
This commit is contained in:
2
init
2
init
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user