diff --git a/opt/hc/lib/platform/linux/check_linux_httpd_status.sh b/opt/hc/lib/platform/linux/check_linux_httpd_status.sh index c022a1e..e16669e 100755 --- a/opt/hc/lib/platform/linux/check_linux_httpd_status.sh +++ b/opt/hc/lib/platform/linux/check_linux_httpd_status.sh @@ -106,6 +106,16 @@ then _HTTPD_BIN="${_CFG_HTTPD_BIN}" log "setting httpd path to {${_HTTPD_BIN}} (config override)" fi +_CFG_HEALTHY=$(_CONFIG_FILE="${_CONFIG_FILE}" data_get_lvalue_from_config 'log_healthy') +case "${_CFG_HEALTHY}" in + yes|YES|Yes) + _LOG_HEALTHY=1 + ;; + *) + # do not override hc_arg + (( _LOG_HEALTHY > 0 )) || _LOG_HEALTHY=0 + ;; +esac # log_healthy (( ARG_LOG_HEALTHY > 0 )) && _LOG_HEALTHY=1