aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>2021-07-29 15:35:24 +0530
committerMD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>2021-07-29 15:36:27 +0530
commit760f937ae99339faef871c78b212fb6292500f8b (patch)
tree931382c08e4d66b5e54850e1d18e1661f325df64
parent4ac159ec1a45b1d538baeb1ba01d89980d6acf42 (diff)
Refactoring start-app.sh
Issue-ID: SO-3674 Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> Change-Id: I617dd0c08764d89693ebdde0dc62358c3a21781b
-rwxr-xr-xpackages/docker/src/main/docker/docker-files/scripts/start-app.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/docker/src/main/docker/docker-files/scripts/start-app.sh b/packages/docker/src/main/docker/docker-files/scripts/start-app.sh
index 54cf95e1cb..b6938ae951 100755
--- a/packages/docker/src/main/docker/docker-files/scripts/start-app.sh
+++ b/packages/docker/src/main/docker/docker-files/scripts/start-app.sh
@@ -1,8 +1,10 @@
#!/bin/sh
#Copying mariadb-java-client for connectivity to mariadb
-unzip /camunda/webapps/mso.war
-cp /camunda/WEB-INF/lib/mariadb-java-client-2.6.2.jar /camunda/lib
+if [ ${APP} = "bpmn-infra" ]; then
+ unzip /camunda/webapps/mso.war
+ cp /camunda/WEB-INF/lib/mariadb-java-client-2.6.2.jar /camunda/lib
+fi
if [ `id -u` = 0 ]
then