summaryrefslogtreecommitdiff
path: root/utils/filtron.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-10-29 20:54:30 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-10-30 16:11:01 +0200
commit4167bf15dce6c1892b25da411f9004c2703ea19c (patch)
treee312a72ed51773b8c0f0bc292e82e1aeb4d81009 /utils/filtron.sh
parent38482739de32ee6a6a41763c5b992c1ad689eb2e (diff)
[mod] utils/searx.sh - apache, nginx & uwsgi check old 'searx' installations
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/filtron.sh')
-rwxr-xr-xutils/filtron.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/filtron.sh b/utils/filtron.sh
index e9fc79c87..1b33e6277 100755
--- a/utils/filtron.sh
+++ b/utils/filtron.sh
@@ -274,6 +274,15 @@ install_check() {
else
info_msg "golang $(go_version) is installed (min needed is: $GO_VERSION)"
fi
+
+ if [ -f "${APACHE_SITES_AVAILABLE}/searx.conf" ]; then
+ warn_msg "old searx.conf apache site exists"
+ fi
+
+ if [ -f "${NGINX_APPS_AVAILABLE}/searx.conf" ]; then
+ warn_msg "old searx.conf nginx site exists"
+ fi
+
}
go_version(){