change variable name
This commit is contained in:
parent
ed493f9c3a
commit
b89d71e6e4
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Skipping DNS check
|
# Skip Unbound (DNS Resolver) Healthchecks (NOT Recommended!)
|
||||||
if [[ "${SKIP_DNS_CHECK}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
|
if [[ "${SKIP_UNBOUND_HEALTHCHECK}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
|
||||||
SKIP_DNS_CHECK=y
|
SKIP_UNBOUND_HEALTHCHECK=y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Declare log function for logfile inside container
|
# Declare log function for logfile inside container
|
||||||
@ -71,7 +71,7 @@ function check_netcat() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ ${SKIP_DNS_CHECK} == "y" ]]; then
|
if [[ ${SKIP_UNBOUND_HEALTHCHECK} == "y" ]]; then
|
||||||
log_to_file "Healthcheck: ALL CHECKS WERE SKIPPED! Unbound is healthy!"
|
log_to_file "Healthcheck: ALL CHECKS WERE SKIPPED! Unbound is healthy!"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
@ -365,7 +365,7 @@ SKIP_HTTP_VERIFICATION=n
|
|||||||
|
|
||||||
# Skip DNS check in Unbound container - y/n
|
# Skip DNS check in Unbound container - y/n
|
||||||
|
|
||||||
SKIP_DNS_CHECK=n
|
SKIP_UNBOUND_HEALTHCHECK=n
|
||||||
|
|
||||||
# Skip ClamAV (clamd-mailcow) anti-virus (Rspamd will auto-detect a missing ClamAV container) - y/n
|
# Skip ClamAV (clamd-mailcow) anti-virus (Rspamd will auto-detect a missing ClamAV container) - y/n
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user