diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-02-04 19:47:33 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-02-04 19:47:33 +0100 |
commit | 71d7550dbe750f35f0dd7b5c513bc9e8db9512ee (patch) | |
tree | 84fcbd1a82a8f298807cd3490b2acee7b5fcbb64 /utils/morty.sh | |
parent | 2f40f61f83afb34f0c4b95019a53050a504ce43a (diff) | |
download | searxng-71d7550dbe750f35f0dd7b5c513bc9e8db9512ee.tar.gz searxng-71d7550dbe750f35f0dd7b5c513bc9e8db9512ee.zip |
tooling box ./utils/*: minor fix from production test
Diffstat (limited to 'utils/morty.sh')
-rwxr-xr-x | utils/morty.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/morty.sh b/utils/morty.sh index 6c63351cf..7a9db08a8 100755 --- a/utils/morty.sh +++ b/utils/morty.sh @@ -84,7 +84,7 @@ ${DOT_CONFIG#"$REPO_ROOT/"} file:: SERVICE_USER : ${SERVICE_USER} EOF info_searx - [ ! -z ${1+x} ] && err_msg "$1" + [ ! -z "${1+x}" ] && err_msg "$1" } info_searx() { @@ -196,6 +196,12 @@ install_all() { if ! service_is_available "http://${MORTY_LISTEN}" ; then err_msg "Morty does not listening on: http://${MORTY_LISTEN}" fi + if apache_is_installed; then + info_msg "Apache is installed on this host." + if ask_yn "Do you want to install a reverse proxy (ProxyPass)" Yn; then + install_apache_site + fi + fi if ask_yn "Do you want to inspect the installation?" Yn; then inspect_service fi |