[fix] installation instructions - launch SearXNG by python -m (#6078)

[1] https://github.com/searxng/searxng/issues/126#issuecomment-4433874986

Suggested-by: @virtadpt in [1]
This commit is contained in:
Markus Heiser
2026-05-13 11:34:31 +02:00
committed by GitHub
parent df1f24fb7f
commit 09829b1ccc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -661,7 +661,7 @@ searxng.instance.localtest() {
tee_stderr 0.1 <<EOF | sudo -H -u "${SERVICE_USER}" -i 2>&1 | prefix_stdout "$_service_prefix"
export SEARXNG_SETTINGS_PATH="${SEARXNG_SETTINGS_PATH}"
cd ${SEARXNG_SRC}
timeout 10 python searx/webapp.py &
timeout 10 python -m searx/webapp &
sleep 3
curl --location --verbose --head --insecure ${SEARXNG_INTERNAL_HTTP}
EOF