From 6368b68071f27cce439d1940b9806100f7aef0e1 Mon Sep 17 00:00:00 2001 From: Andrew Gauld Date: Mon, 30 Mar 2020 15:50:02 +0000 Subject: genprocessor-http non-root permissions changes Change-Id: I734bbfac8b1b260524ef174518fea3e2229cf175 Issue-ID: DCAEGEN2-2170 Signed-off-by: Andrew Gauld --- mod/genprocessor/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/genprocessor/pom.xml b/mod/genprocessor/pom.xml index ccc1ce3..3a53265 100644 --- a/mod/genprocessor/pom.xml +++ b/mod/genprocessor/pom.xml @@ -140,7 +140,7 @@ limitations under the License. - groupadd -g 1000 dcaemod && useradd --shell /bin/bash -u 1000 -g 1000 -m dcaemod + sed -i /etc/nginx/nginx.conf -e '/^user /d' && touch /var/run/nginx.pid && mkdir -p /www/data && chown -R nginx:nginx /www /etc/nginx /var/cache/nginx /var/log/nginx /var/run/nginx.pid dcaemod @@ -166,7 +166,7 @@ limitations under the License. artifact-with-dependencies - groupadd -g 1000 dcaemod && useradd --shell /bin/bash -u 1000 -g 1000 -m dcaemod && mkdir -p /work && chown dcaemod:dcaemod /work + groupadd -g 1000 dcaemod && useradd --shell /bin/bash -u 1000 -g 1000 -m dcaemod /maven @@ -174,7 +174,7 @@ limitations under the License. http://onboarding-api:8080/onboarding 10 - dcaemod + nginx java -- cgit 1.2.3-korg