From 26b66dd3beb59ba9aa31abe33f62b4f38a42b292 Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Mon, 15 Jul 2024 16:16:49 +0200 Subject: [PATCH] [fix] everything is logged with "priority 3" on journal Closes: https://github.com/searxng/searxng/issues/3649 --- Dockerfile | 1 - dockerfiles/docker-entrypoint.sh | 2 +- 2 files changed, 1 insertion(+), 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}"