Fix Nginx Reloading in Build Tests / Debug Curl Tests

This commit is contained in:
Mitchell Krog 2019-06-20 14:04:00 +02:00
parent 58f42e63b6
commit f2f57eca50
No known key found for this signature in database
GPG key ID: C243C388553EDE5D
5 changed files with 24 additions and 15 deletions

View file

@ -157,7 +157,7 @@ sudo bash ./update-ngxblocker -c /usr/local/nginx/conf.d -b /usr/local/nginx/bot
# *********************
printf '\n%s\n%s\n%s\n\n' "########################" "Force Reloading of Nginx" "########################"
sudo service nginx reload
sudo nginx -t && sudo nginx -s reload
# *******************************************************************************************
# Test that update-ngxblocker can install all missing required files by deleting some of them
@ -221,7 +221,7 @@ sudo bash ./setup-ngxblocker -x -c /usr/local/nginx/conf.d -b /usr/local/nginx/b
# *********************
printf '\n%s\n%s\n%s\n\n' "########################" "Force Reloading of Nginx" "########################"
sudo service nginx reload
sudo nginx -t && sudo nginx -s reload
# *******************************************************
# Make sure we test latest generated globalblacklist.conf
@ -243,7 +243,7 @@ sudo bash ./setup-ngxblocker -x -c /usr/local/nginx/conf.d -b /usr/local/nginx/b
# *********************
printf '\n%s\n%s\n%s\n\n' "########################" "Force Reloading of Nginx" "########################"
sudo service nginx reload
sudo nginx -t && sudo nginx -s reload
# **********************
# Now Run our Curl Tests