Re-Run Nginx Test 1 - Testing download of additional missing files.

This commit is contained in:
Mitchell Krog 2017-07-27 13:04:32 +02:00
parent 692cab13ef
commit ccea7e50b4

View file

@ -111,14 +111,17 @@ sudo bash ./update-ngxblocker -n
sudo service nginx reload
# ******************************************************************
# Test that update-ngxblocker can install all missing required files
# ******************************************************************
# *******************************************************************************************
# Test that update-ngxblocker can install all missing required files by deleting some of them
# *******************************************************************************************
sudo rm /etc/nginx/conf.d/*.conf
sudo rm /etc/nginx/bots.d/*.conf
sudo rm /usr/sbin/install-ngxblocker
sudo rm /usr/sbin/setup-ngxblocker
ls -la /etc/nginx/conf.d/
ls -la /etc/nginx/bots.d/
ls -la /usr/sbin/
# *********************************************************************************************************
# Run update-ngxblocker to test for missing files and download latest globalblacklist.conf and reload Nginx
@ -128,6 +131,7 @@ cd /usr/sbin
sudo bash ./update-ngxblocker -n
ls -la /etc/nginx/conf.d/
ls -la /etc/nginx/bots.d/
ls -la /usr/sbin/
# ****************************************************************************************
# Copy a dummy version of globalblacklist.conf with an older version number to test update