From 57ce313885696def748d1e331676ec790cc45f50 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Wed, 26 Jul 2017 11:42:29 +0200 Subject: [PATCH] Configuration Notes Added Regarding update-ngxblocker. --- AUTO-CONFIGURATION.md | 4 ++++ README.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/AUTO-CONFIGURATION.md b/AUTO-CONFIGURATION.md index a468109c5..fb1c1243e 100755 --- a/AUTO-CONFIGURATION.md +++ b/AUTO-CONFIGURATION.md @@ -282,6 +282,10 @@ If you want it to update more frequently (as sometimes I push out 3-4 updates a `00 */8 * * * sudo /usr/sbin/update-ngxblocker -e yourname@youremail.com` +If you don't want any email notification after an update (not advisable in case Nginx ever has an EMERG when reloading), then simply run your cron as follows. + +`00 */8 * * * sudo /usr/sbin/update-ngxblocker -n` + That's it, the blocker will automatically keep itself up to date and also reload Nginx once it has downloaded the latest version of the globalblacklist.conf file. ************************************************ diff --git a/README.md b/README.md index d24afd965..35d59dfa5 100755 --- a/README.md +++ b/README.md @@ -283,6 +283,10 @@ If you want it to update more frequently (as sometimes I push out 3-4 updates a `00 */8 * * * sudo /usr/sbin/update-ngxblocker -e yourname@youremail.com` +If you don't want any email notification after an update (not advisable in case Nginx ever has an EMERG when reloading), then simply run your cron as follows. + +`00 */8 * * * sudo /usr/sbin/update-ngxblocker -n` + That's it, the blocker will automatically keep itself up to date and also reload Nginx once it has downloaded the latest version of the globalblacklist.conf file. ************************************************