Fix bug.
This commit is contained in:
parent
47cd16fca2
commit
5e95523820
|
@ -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 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 chown root:root /lib/systemd/system/nginx.service
|
||||||
sudo chmod 644 /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 daemon-reload
|
||||||
|
sudo systemctl unmask nginx
|
||||||
sudo systemctl enable nginx
|
sudo systemctl enable nginx
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue