diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-08 18:38:36 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-08 18:38:36 +0200 |
commit | f693149cded4f783380f8f02154bd9288b72cdd5 (patch) | |
tree | 3b3809f5c667ab44e53bb200cca3ce959c0380dd /utils/searx.sh | |
parent | ee39a098acb2386abd5382de5c9476cc4ffe2e03 (diff) | |
download | searxng-f693149cded4f783380f8f02154bd9288b72cdd5.tar.gz searxng-f693149cded4f783380f8f02154bd9288b72cdd5.zip |
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 <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/searx.sh')
-rwxr-xr-x | utils/searx.sh | 10 |
1 files changed, 9 insertions, 1 deletions
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() { |