[GHA] fix nginx restarts

This commit is contained in:
Mitchell Krog 2021-06-21 14:44:39 +02:00
parent d36db0abfe
commit 287d14f96f
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

View file

@ -68,9 +68,8 @@ printf "\n"
echo "${bold}${green}---------------" echo "${bold}${green}---------------"
echo "${bold}${green}Starting Nginx" echo "${bold}${green}Starting Nginx"
echo "${bold}${green}---------------" echo "${bold}${green}---------------"
sudo systemctl enable nginx
sudo systemctl start nginx
sudo systemctl status nginx.service sudo systemctl status nginx.service
sudo systemctl restart nginx
} }
reloadNginX () { reloadNginX () {
@ -239,7 +238,7 @@ runsetupngxblocker1
loadNginxConf loadNginxConf
forceUpdateTest1 forceUpdateTest1
runupdatengxblocker runupdatengxblocker
startNginX #startNginX
reloadNginX reloadNginX
waitforReload waitforReload
forceUpdateTest2 forceUpdateTest2