From 39f97b1e3030bc3e545be18f0436102dc99666b1 Mon Sep 17 00:00:00 2001 From: Nico640 Date: Thu, 5 Mar 2020 19:33:38 +0100 Subject: [PATCH] fix user certs not working --- Dockerfile | 2 +- Dockerfile.armhf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bbd21c5..3916eac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -173,7 +173,7 @@ RUN set -x \ && rm -rf /tmp/src \ && rm -rf /var/cache/apk/* \ && echo "unms ALL=(ALL) NOPASSWD: /usr/sbin/nginx -s *" >> /etc/sudoers \ - && echo "unms ALL=(ALL) NOPASSWD:SETENV: /refresh-certificate.sh *" >> /etc/sudoers \ + && echo "unms ALL=(ALL) NOPASSWD: /bin/cat *" >> /etc/sudoers \ && echo "unms ALL=(ALL) NOPASSWD:SETENV: /refresh-configuration.sh *" >> /etc/sudoers COPY --from=unms-crm /etc/nginx/available-servers /etc/nginx/ucrm diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 3562153..0ed0df1 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -173,7 +173,7 @@ RUN set -x \ && rm -rf /tmp/src \ && rm -rf /var/cache/apk/* \ && echo "unms ALL=(ALL) NOPASSWD: /usr/sbin/nginx -s *" >> /etc/sudoers \ - && echo "unms ALL=(ALL) NOPASSWD:SETENV: /refresh-certificate.sh *" >> /etc/sudoers \ + && echo "unms ALL=(ALL) NOPASSWD: /bin/cat *" >> /etc/sudoers \ && echo "unms ALL=(ALL) NOPASSWD:SETENV: /refresh-configuration.sh *" >> /etc/sudoers COPY --from=unms-crm /etc/nginx/available-servers /etc/nginx/ucrm