From de2b73feb8b86aae2fae128e46d8ccc7cccdf592 Mon Sep 17 00:00:00 2001 From: Basil Hendroff <63370329+basilhendroff@users.noreply.github.com> Date: Sun, 7 Mar 2021 09:18:14 +0800 Subject: [PATCH] Update caddy-jail.sh Remove check for HOST_NAME in the config. --- caddy-jail.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/caddy-jail.sh b/caddy-jail.sh index 744c7bc..e722d8b 100755 --- a/caddy-jail.sh +++ b/caddy-jail.sh @@ -56,11 +56,6 @@ if [ -z "${POOL_PATH}" ]; then echo 'Configuration error: POOL_PATH must be set' exit 1 fi -if [ -z "${HOST_NAME}" ]; then - echo 'Configuration error: HOST_NAME must be set' - exit 1 -fi - # If CONFIG_PATH wasn't set in caddy-config, set it if [ -z "${CONFIG_PATH}" ]; then CONFIG_PATH="${POOL_PATH}"/apps/caddy