From 99727ae8fb0cd22ae6139431c73b8c9383b1b9be Mon Sep 17 00:00:00 2001 From: bohung Date: Wed, 24 Aug 2022 17:57:56 +0800 Subject: [PATCH] Fix bug. --- install_nginx.sh | 1 + 1 file changed, 1 insertion(+) 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"