1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-25 02:29:32 +02:00

change variable name

This commit is contained in:
KagurazakaNyaa 2024-01-18 23:48:59 +08:00
parent ed493f9c3a
commit b89d71e6e4
2 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash
# Skipping DNS check
if [[ "${SKIP_DNS_CHECK}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
SKIP_DNS_CHECK=y
# Skip Unbound (DNS Resolver) Healthchecks (NOT Recommended!)
if [[ "${SKIP_UNBOUND_HEALTHCHECK}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
SKIP_UNBOUND_HEALTHCHECK=y
fi
# 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!"
exit 0
fi

View File

@ -365,7 +365,7 @@ SKIP_HTTP_VERIFICATION=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