From fb5ffd303e04cf14f9a59d5bc65a3a53ba2238a0 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 16 Feb 2022 19:05:31 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20modified:=20bin/create-?= =?UTF-8?q?blocklists.sh=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/create-blocklists.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/create-blocklists.sh b/bin/create-blocklists.sh index 925bc48..91d2d28 100755 --- a/bin/create-blocklists.sh +++ b/bin/create-blocklists.sh @@ -2,7 +2,7 @@ SQUID_USER="${SQUID_USER:-squid}" SQUID_LOG_DIR="${SQUID_LOG_DIR:-/data/log/squid}" -REDIRECT_URL="${REDIRECT_URL:-}" +REDIRECT_URL="${REDIRECT_URL:-/}" BLOCKLIST="${BLOCKLIST:-https://github.com/casjay/resources/raw/main/files/shallalist.tar.gz}" BLOCKED_CATEGORIES="${BLOCKED_CATEGORIES:-adv,aggressive,porn,spyware,violence,warez}" @@ -68,3 +68,5 @@ chown -R ${SQUID_USER}:${SQUID_USER} "${CONFIG_FILE}" echo "Cleanup..." rm -rf /tmp/* + +squid -k reconfigure