@ -552,7 +552,7 @@ test_local_searx() {
return
fi
fi
sed -i -e "s/debug : False/debug : T rue/g" " $SEARX_SETTINGS_PATH "
sed -i -e "s/debug : false/debug: t rue/g" " $SEARX_SETTINGS_PATH "
tee_stderr 0.1 <<EOF | sudo -H -u "${SE RVICE_USER} " -i 2>&1 | prefix_stdout " $_service_prefix "
export SEARX_SETTINGS_PATH = " ${ SEARX_SETTINGS_PATH } "
cd ${ SEARX_SRC }
@ -560,7 +560,7 @@ timeout 10 python searx/webapp.py &
sleep 3
curl --location --verbose --head --insecure $SEARX_INTERNAL_HTTP
EOF
sed -i -e "s/debug : True/debug : F alse/g" " $SEARX_SETTINGS_PATH "
sed -i -e "s/debug : true/debug: f alse/g" " $SEARX_SETTINGS_PATH "
}
install_searx_uwsgi( ) {
@ -594,7 +594,7 @@ enable_image_proxy() {
info_msg "try to enable image_proxy ..."
tee_stderr 0.1 <<EOF | sudo -H -i 2>& 1 | prefix_stdout " $_service_prefix "
cd ${ SEARX_SRC }
sed -i -e "s/image_proxy : False/image_proxy : T rue/g" " $SEARX_SETTINGS_PATH "
sed -i -e "s/image_proxy : false/image_proxy: t rue/g" " $SEARX_SETTINGS_PATH "
EOF
uWSGI_restart " $SEARX_UWSGI_APP "
}
@ -603,7 +603,7 @@ disable_image_proxy() {
info_msg "try to enable image_proxy ..."
tee_stderr 0.1 <<EOF | sudo -H -i 2>& 1 | prefix_stdout " $_service_prefix "
cd ${ SEARX_SRC }
sed -i -e "s/image_proxy : True/image_proxy : F alse/g" " $SEARX_SETTINGS_PATH "
sed -i -e "s/image_proxy : true/image_proxy: f alse/g" " $SEARX_SETTINGS_PATH "
EOF
uWSGI_restart " $SEARX_UWSGI_APP "
}
@ -613,7 +613,7 @@ enable_debug() {
info_msg "try to enable debug mode ..."
tee_stderr 0.1 <<EOF | sudo -H -i 2>& 1 | prefix_stdout " $_service_prefix "
cd ${ SEARX_SRC }
sed -i -e "s/debug : False/debug : T rue/g" " $SEARX_SETTINGS_PATH "
sed -i -e "s/debug : false/debug: t rue/g" " $SEARX_SETTINGS_PATH "
EOF
uWSGI_restart " $SEARX_UWSGI_APP "
}
@ -622,7 +622,7 @@ disable_debug() {
info_msg "try to disable debug mode ..."
tee_stderr 0.1 <<EOF | sudo -H -i 2>& 1 | prefix_stdout " $_service_prefix "
cd ${ SEARX_SRC }
sed -i -e "s/debug : True/debug : F alse/g" " $SEARX_SETTINGS_PATH "
sed -i -e "s/debug : true/debug: f alse/g" " $SEARX_SETTINGS_PATH "
EOF
uWSGI_restart " $SEARX_UWSGI_APP "
}