Add run ./setup-ngxblocker second time after re-downloading missing files.

This commit is contained in:
Mitchell Krog 2017-07-27 14:17:13 +02:00
parent b35096907c
commit 9f1129c445
3 changed files with 15 additions and 0 deletions

View file

@ -156,6 +156,13 @@ sudo cp $TRAVIS_BUILD_DIR/.dev-tools/globalblacklist-dummy.conf /etc/nginx/conf.
cd /usr/sbin cd /usr/sbin
sudo bash ./update-ngxblocker -n sudo bash ./update-ngxblocker -n
# **************************
# Run setup-ngxblocker again
# **************************
cd /usr/sbin
sudo bash ./setup-ngxblocker -x
# ********************* # *********************
# Force reload of Nginx # Force reload of Nginx
# ********************* # *********************

View file

@ -192,6 +192,13 @@ sudo cp $TRAVIS_BUILD_DIR/.dev-tools/globalblacklist-dummy.conf /usr/local/nginx
cd /usr/sbin cd /usr/sbin
sudo bash ./update-ngxblocker -c /usr/local/nginx/conf.d -b /usr/local/nginx/bots.d -n sudo bash ./update-ngxblocker -c /usr/local/nginx/conf.d -b /usr/local/nginx/bots.d -n
# **************************
# Run setup-ngxblocker Again
# **************************
cd /usr/sbin
sudo bash ./setup-ngxblocker -x -c /usr/local/nginx/conf.d -b /usr/local/nginx/bots.d
# ********************* # *********************
# Force reload of Nginx # Force reload of Nginx
# ********************* # *********************

View file

@ -21,6 +21,7 @@ addons:
apt: apt:
packages: packages:
- realpath - realpath
- mailutils
before_install: before_install:
- export TZ=Africa/Johannesburg - export TZ=Africa/Johannesburg