diff options
Diffstat (limited to 'mod/genprocessor')
-rw-r--r-- | mod/genprocessor/pom.xml | 6 |
1 files 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. </inline> </assembly> <runCmds> - <runCmd>groupadd -g 1000 dcaemod && useradd --shell /bin/bash -u 1000 -g 1000 -m dcaemod</runCmd> + <runCmd>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</runCmd> </runCmds> <user>dcaemod</user> <entryPoint> @@ -166,7 +166,7 @@ limitations under the License. <descriptorRef>artifact-with-dependencies</descriptorRef> </assembly> <runCmds> - <runCmd>groupadd -g 1000 dcaemod && useradd --shell /bin/bash -u 1000 -g 1000 -m dcaemod && mkdir -p /work && chown dcaemod:dcaemod /work</runCmd> + <runCmd>groupadd -g 1000 dcaemod && useradd --shell /bin/bash -u 1000 -g 1000 -m dcaemod</runCmd> </runCmds> <workdir>/maven</workdir> <env> @@ -174,7 +174,7 @@ limitations under the License. <GENPROC_ONBOARDING_API_HOST>http://onboarding-api:8080/onboarding</GENPROC_ONBOARDING_API_HOST> <GENPROC_SLEEP_SEC>10</GENPROC_SLEEP_SEC> </env> - <user>dcaemod</user> + <user>nginx</user> <entryPoint> <exec> <arg>java</arg> |