Added additional log info for HEALTH_CHECK_AMOUNT

This commit is contained in:
DyonR 2022-09-07 20:21:11 +02:00
parent 2821928eec
commit f546d71a97

View File

@ -158,6 +158,7 @@ if [ -e /proc/$qbittorrentpid ]; then
echo "[INFO] HEALTH_CHECK_AMOUNT is not set. For now using default interval of ${DEFAULT_HEALTH_CHECK_AMOUNT}" | ts '%Y-%m-%d %H:%M:%.S'
HEALTH_CHECK_AMOUNT=${DEFAULT_HEALTH_CHECK_AMOUNT}
fi
echo "[INFO] HEALTH_CHECK_AMOUNT is set to ${HEALTH_CHECK_AMOUNT}" | ts '%Y-%m-%d %H:%M:%.S'
while true; do
# Ping uses both exit codes 1 and 2. Exit code 2 cannot be used for docker health checks, therefore we use this script to catch error code 2