From 9a78e6917f0ef5dbfa581aa78a6ae07306e68638 Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 11 Oct 2022 16:08:48 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=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 | 5 ++++- bin/entrypoint-squid.sh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bin/create-blocklists.sh b/bin/create-blocklists.sh index c6929df..08ccc9a 100755 --- a/bin/create-blocklists.sh +++ b/bin/create-blocklists.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash - +# Set bash options +[ -n "$DEBUG" ] && set -x +set -o pipefail +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SQUID_USER="${SQUID_USER:-squid}" SQUID_LOG_DIR="${SQUID_LOG_DIR:-/data/log/squid}" REDIRECT_URL="${REDIRECT_URL:-}" diff --git a/bin/entrypoint-squid.sh b/bin/entrypoint-squid.sh index 7eeb456..277df73 100755 --- a/bin/entrypoint-squid.sh +++ b/bin/entrypoint-squid.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash - +# Set bash options +[ -n "$DEBUG" ] && set -x +set -o pipefail +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PROXY_HOSTNAME=${PROXY_HOSTNAME:-proxy.casjay.net} export SQUID_PORT="${SQUID_PORT:-3127}" export E2GUARD_PORT="${E2GUARD_PORT:-3128}"