diff --git a/install_nginx.sh b/install_nginx.sh index 0297e7e..a24d1bd 100644 --- a/install_nginx.sh +++ b/install_nginx.sh @@ -136,7 +136,9 @@ if [[ ! -f /etc/init.d/nginx ]]; then sudo wget http://gitlab.tp.rulingcom.com/erictyl/install_r45_on_ubuntu_1804lts_doc/-/raw/master/nginx.service -O /lib/systemd/system/nginx.service sudo chown root:root /lib/systemd/system/nginx.service sudo chmod 644 /lib/systemd/system/nginx.service + sudo chmod +x /lib/systemd/system/nginx.service sudo systemctl daemon-reload + sudo systemctl unmask nginx sudo systemctl enable nginx fi fi