summaryrefslogtreecommitdiff
path: root/utils/morty.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-02-04 19:47:33 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-02-04 19:47:33 +0100
commit71d7550dbe750f35f0dd7b5c513bc9e8db9512ee (patch)
tree84fcbd1a82a8f298807cd3490b2acee7b5fcbb64 /utils/morty.sh
parent2f40f61f83afb34f0c4b95019a53050a504ce43a (diff)
downloadsearxng-71d7550dbe750f35f0dd7b5c513bc9e8db9512ee.tar.gz
searxng-71d7550dbe750f35f0dd7b5c513bc9e8db9512ee.zip
tooling box ./utils/*: minor fix from production test
Diffstat (limited to 'utils/morty.sh')
-rwxr-xr-xutils/morty.sh8
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