diff options
author | Ivan Gabaldon <git@inetol.net> | 2024-07-15 16:16:49 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-07-27 09:11:49 +0200 |
commit | 26b66dd3beb59ba9aa31abe33f62b4f38a42b292 (patch) | |
tree | 7108da0bf673916a0e7f82834e3ad324764112a4 | |
parent | 319afe031e22fb644d336920802dcbafc8a5e338 (diff) | |
download | searxng-26b66dd3beb59ba9aa31abe33f62b4f38a42b292.tar.gz searxng-26b66dd3beb59ba9aa31abe33f62b4f38a42b292.zip |
[fix] everything is logged with "priority 3" on journal
Closes: https://github.com/searxng/searxng/issues/3649
-rw-r--r-- | Dockerfile | 1 | ||||
-rwxr-xr-x | dockerfiles/docker-entrypoint.sh | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 95a7c82e5..2a4d39591 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,6 @@ RUN apk add --no-cache -t build-dependencies \ git \ && apk add --no-cache \ ca-certificates \ - su-exec \ python3 \ py3-pip \ libxml2 \ diff --git a/dockerfiles/docker-entrypoint.sh b/dockerfiles/docker-entrypoint.sh index 332d5c2bb..9e15b4cfa 100755 --- a/dockerfiles/docker-entrypoint.sh +++ b/dockerfiles/docker-entrypoint.sh @@ -175,4 +175,4 @@ unset MORTY_KEY # Start uwsgi printf 'Listen on %s\n' "${BIND_ADDRESS}" -exec su-exec searxng:searxng uwsgi --master --http-socket "${BIND_ADDRESS}" "${UWSGI_SETTINGS_PATH}" +exec uwsgi --master --uid searxng --gid searxng --http-socket "${BIND_ADDRESS}" "${UWSGI_SETTINGS_PATH}" |