diff --git a/install_nginx.sh b/install_nginx.sh index d3ac81e..1c204a3 100644 --- a/install_nginx.sh +++ b/install_nginx.sh @@ -93,6 +93,7 @@ if [[ ! -f /etc/init.d/nginx ]]; then sudo chown root:root /lib/systemd/system/nginx.service sudo chmod 644 /lib/systemd/system/nginx.service sudo systemctl daemon-reload + sudo systemctl enable nginx fi fi nginx_target_ver="1.23.1"