summaryrefslogtreecommitdiff
path: root/utils/searxng.sh
diff options
context:
space:
mode:
authorKalokaK <kalokaprivat@gmail.com>2024-02-18 20:14:49 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-02-20 15:18:40 +0100
commitfb36a06acd86fa614e754e58f450e4685910b814 (patch)
treee54e95085945c1aa780a8555cbf5e90703ea30a7 /utils/searxng.sh
parentfde21c8f99a578f60332bebc336b6f2e9fbe3874 (diff)
downloadsearxng-fb36a06acd86fa614e754e58f450e4685910b814.tar.gz
searxng-fb36a06acd86fa614e754e58f450e4685910b814.zip
[fix] utils/searxng.sh uses searx.shared module which no longer exists
Issue exists since #1954 has been merged / the PR fixed all searx.shared except this one fixed here in this commit. Related: https://github.com/searxng/searxng/pull/1954 Closes: https://github.com/searxng/searxng/issues/3224
Diffstat (limited to 'utils/searxng.sh')
-rwxr-xr-xutils/searxng.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/searxng.sh b/utils/searxng.sh
index 8cabbb722..7626a4aa7 100755
--- a/utils/searxng.sh
+++ b/utils/searxng.sh
@@ -696,7 +696,7 @@ To install uWSGI use::
die 42 "SearXNG's uWSGI app not available"
fi
- if ! searxng.instance.exec python -c "from searx.shared import redisdb; redisdb.initialize() or exit(42)"; then
+ if ! searxng.instance.exec python -c "from searx import redisdb; redisdb.initialize() or exit(42)"; then
rst_para "\
The configured redis DB is not available: If your server is public to the
internet, you should setup a bot protection to block excessively bot queries.