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
|
||||
sudo systemctl enable --now nginx
|
||||
sudo systemctl status nginx
|
||||
|
||||
# Setup nginx
|
||||
sudo rm /etc/nginx/sites-enabled/default
|
||||
@@ -20,6 +19,7 @@ sudo nginx -t
|
||||
|
||||
# Restart nginx after loading wordpress config
|
||||
sudo systemctl restart nginx
|
||||
sudo systemctl status nginx
|
||||
|
||||
# PHP
|
||||
sudo systemctl enable --now php8.4-fpm
|
||||
|
||||
Reference in New Issue
Block a user