File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,8 @@ set -x
6060# Start nginx.
6161# nginx -c "$DIR/nginx/nginx.conf"
6262# echo $TRAVIS_BUILD_DIR
63- # Set TimeZone
64- # sudo timedatectl set-timezone Africa/Johannesburg
65- sudo timedatectl status
63+ # Check Date
6664date
67- # End Set Timezone
6865sudo rm /etc/nginx/sites-available/default
6966sudo wget https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/install-ngxblocker -O /usr/sbin/install-ngxblocker
7067sudo wget https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/setup-ngxblocker -O /usr/sbin/setup-ngxblocker
Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ _endmarker="### Version Information END"
2222# _startgen="### Generated in"
2323# _endgen="### End Generated in"
2424
25- # PRINT VERSION INFORMATION
26- # **********************************
25+ # PRINT VERSION INFORMATION INTO GLOBALBLACKLIST FILE
26+ # ***************************************************
2727LASTUPDATEIFS=$IFS
2828IFS=$' \n '
2929now=" $( date) "
3030end=$( date +%s.%N)
3131echo $_startmarker >> $_tmpnginxA
3232runtime=$( python -c " print(${end} - ${start} )" )
33- printf " ### Version: " $MY_GIT_TAG " \n### Updated: " $now " \n### Generated In: " $runtime " seconds\n" >> $_tmpnginxA
33+ printf " #######################\n### Version: " $MY_GIT_TAG " \n### Updated: " $now " \n### Generated In: " $runtime " seconds\n####################### \n" >> $_tmpnginxA
3434echo $_endmarker >> $_tmpnginxA
3535IFS=$LASTUPDATEIFS
3636mv $_tmpnginxA $_inputdbA
You can’t perform that action at this time.
0 commit comments