@@ -110,7 +110,7 @@ If needed, set PUBLIC_URL of your WEB service in the '${DOT_CONFIG#"$REPO_ROOT/"
110 SERVICE_USER : ${SERVICE_USER}
110 SERVICE_USER : ${SERVICE_USER}
113− [ ! -z ${1+x} ] && err_msg "$1"
113+ [ ! -z "${1+x}" ] && err_msg "$1"
@@ -403,8 +403,8 @@ test_local_searx() {
403 tee_stderr 0.1 <<EOF | sudo -H -u "${SERVICE_USER}" -i 2>&1 | prefix_stdout "$_service_prefix"
403 tee_stderr 0.1 <<EOF | sudo -H -u "${SERVICE_USER}" -i 2>&1 | prefix_stdout "$_service_prefix"
404cd ${SEARX_SRC}
404cd ${SEARX_SRC}
405sed -i -e "s/debug : False/debug : True/g" "$SEARX_SETTINGS"
405sed -i -e "s/debug : False/debug : True/g" "$SEARX_SETTINGS"
406−timeout 5 python3 searx/webapp.py &
406+timeout 10 python3 searx/webapp.py &
408curl --location --verbose --head --insecure $SEARX_INTERNAL_URL
408curl --location --verbose --head --insecure $SEARX_INTERNAL_URL
409sed -i -e "s/debug : True/debug : False/g" "$SEARX_SETTINGS"
409sed -i -e "s/debug : True/debug : False/g" "$SEARX_SETTINGS"