From f693149cded4f783380f8f02154bd9288b72cdd5 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 8 Apr 2020 18:38:36 +0200 Subject: Changes from the installation tests on (all) LXC containers. Tested and fixed HTTP & uWSGI installation on: ubu1604 ubu1804 ubu1910 ubu2004 fedora31 archlinux Signed-off-by: Markus Heiser --- utils/searx.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'utils/searx.sh') diff --git a/utils/searx.sh b/utils/searx.sh index 6a8588c23..681b9a0e3 100755 --- a/utils/searx.sh +++ b/utils/searx.sh @@ -748,6 +748,10 @@ excessively bot queries." apache_install_site --variant=uwsgi "${APACHE_SEARX_SITE}" + rst_title "Install searx's uWSGI app (searx.ini)" section + echo + uWSGI_install_app --variant=socket "$SEARX_UWSGI_APP" + if ! service_is_available "${PUBLIC_URL}"; then err_msg "Public service at ${PUBLIC_URL} is not available!" fi @@ -762,11 +766,15 @@ This removes apache site ${APACHE_SEARX_SITE}." ! apache_is_installed && err_msg "Apache is not installed." - if ! ask_yn "Do you really want to continue?"; then + if ! ask_yn "Do you really want to continue?" Yn; then return fi apache_remove_site "${APACHE_SEARX_SITE}" + + rst_title "Remove searx's uWSGI app (searx.ini)" section + echo + uWSGI_remove_app "$SEARX_UWSGI_APP" } rst-doc() { -- cgit v1.2.3