From a16f3cfd21aa78f60b9c96f99f9ab52af2d492bb Mon Sep 17 00:00:00 2001 From: Denis Pisarev Date: Thu, 3 Oct 2024 21:25:15 +0200 Subject: [PATCH] add #63 --- Dockerfile | 2 +- deployment/docker/pretalx.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a55b563..d5f4008 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN apt-get update && \ mkdir /public && \ groupadd -g 999 pretalxuser && \ useradd -r -u 999 -g pretalxuser -d /pretalx -ms /bin/bash pretalxuser && \ - echo 'pretalxuser ALL=(ALL) NOPASSWD: /usr/bin/supervisord' >> /etc/sudoers + echo 'pretalxuser ALL=(ALL) NOPASSWD:SETENV: /usr/bin/supervisord' >> /etc/sudoers ENV LC_ALL=C.UTF-8 diff --git a/deployment/docker/pretalx.bash b/deployment/docker/pretalx.bash index 0271987..830c057 100644 --- a/deployment/docker/pretalx.bash +++ b/deployment/docker/pretalx.bash @@ -48,7 +48,7 @@ if [ "$AUTOMIGRATE" = "yes" ]; then fi if [ "$1" == "all" ]; then - exec sudo /usr/bin/supervisord -n -c /etc/supervisord.conf + exec sudo -E /usr/bin/supervisord -n -c /etc/supervisord.conf fi if [ "$1" == "webworker" ]; then