From ef4725adf278e8266accb61e67813c0be7b86fa3 Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 6 May 2024 00:33:57 +0200 Subject: [PATCH] install_httpd-2.4.sh: set default timeout to 360 seconds. --- install_httpd-2.4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_httpd-2.4.sh b/install_httpd-2.4.sh index a343bbc..eee4a88 100755 --- a/install_httpd-2.4.sh +++ b/install_httpd-2.4.sh @@ -98,7 +98,7 @@ _HTTPD_OLD_CONF_FILE="$(realpath "/usr/local/apache2/conf/httpd.conf")" if [[ -f "${_HTTPD_OLD_CONF_FILE}" ]] && $(grep -q -i -E "^\s*timeout\s+" "${_HTTPD_OLD_CONF_FILE}") ; then _TIMEOUT="$(grep -i -E "^\s*timeout\s+" "${_HTTPD_OLD_CONF_FILE}"| awk '{print$2}' | head -1)" else - _TIMEOUT=60 + _TIMEOUT=360 fi if [[ -f "${_HTTPD_OLD_CONF_FILE}" ]] && $(grep -q -i -E "^\s*ProxyTimeout\s+" "${_HTTPD_OLD_CONF_FILE}") ; then _PROXY_TIMEOUT="$(grep -i -E "^\s*ProxyTimeout\s+" "${_HTTPD_OLD_CONF_FILE}"| awk '{print$2}' | head -1)"