Update docker-entrypoint.sh

remove su because we ran as user searwng
This commit is contained in:
Loris 2025-04-06 13:38:33 +02:00 committed by GitHub
parent 98703ae9d8
commit 7f2e21b865
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,9 +49,7 @@ do
done
get_searxng_version(){
su searxng -c \
'python3 -c "import six; import searx.version; six.print_(searx.version.VERSION_STRING)"' \
2>/dev/null
python3 -c "import six; import searx.version; six.print_(searx.version.VERSION_STRING)" 2>/dev/null
}
SEARXNG_VERSION="$(get_searxng_version)"