[GHA] ADD Start Nginx

This commit is contained in:
Mitchell Krog 2021-06-21 13:20:17 +02:00
parent 911d113185
commit af5082b8b9
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

View file

@ -63,6 +63,15 @@ defaultcolor=$(tput setaf default)
# FUNCTIONS
# ---------
startNginX () {
printf "\n"
echo "${bold}${green}---------------"
echo "${bold}${green}Starting Nginx"
echo "${bold}${green}---------------"
sudo systemctl enable nginx
sudo systemctl start nginx
}
reloadNginX () {
printf "\n"
echo "${bold}${green}---------------"
@ -229,6 +238,7 @@ runsetupngxblocker1
loadNginxConf
forceUpdateTest1
runupdatengxblocker
startNginX
reloadNginX
waitforReload
forceUpdateTest2