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

@ -142,7 +142,7 @@ sudo bash ./update-ngxblocker -n
# *********************
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
@ -206,7 +206,7 @@ sudo bash ./setup-ngxblocker -x
# *********************
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
@ -220,7 +220,7 @@ sudo cp ${TRAVIS_BUILD_DIR}/conf.d/globalblacklist.conf /etc/nginx/conf.d/global
# *********************
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