1
0
Fork 0
mirror of https://github.com/searxng/searxng.git synced 2025-04-22 11:24:05 +00:00

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)"