From: HuabingZhao Date: Tue, 10 Oct 2017 09:13:28 +0000 (+0800) Subject: Fix Workflow docker script issue X-Git-Tag: v1.0.0~7 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F03%2F17903%2F1;p=sdc%2Fsdc-workflow-designer.git Fix Workflow docker script issue Fix issue: Docker container exits immediately after started. Issue-Id: SDC-339 Change-Id: I279eebadbc73c2fa1b9fa702eabf16ab5f287146 Signed-off-by: HuabingZhao --- diff --git a/distribution/src/main/assembly/startup.sh b/distribution/src/main/assembly/startup.sh index d95c99b0..503b1020 100644 --- a/distribution/src/main/assembly/startup.sh +++ b/distribution/src/main/assembly/startup.sh @@ -18,12 +18,11 @@ DIRNAME=`dirname $0` RUNHOME=`cd $DIRNAME/; pwd` echo @RUNHOME@ $RUNHOME -echo "### Starting blueprint"; +echo "### Starting workflow designer"; cd ./tomcat if [ ! -d "$RUNHOME/tomcat/logs" ]; then mkdir $RUNHOME/tomcat/logs fi export CATALINA_HOME=$RUNHOME/tomcat export CATALINA_BASE=$RUNHOME/tomcat -$RUNHOME/tomcat/bin/startup.sh & -echo "### Starting blueprint end"; +$RUNHOME/tomcat/bin/catalina.sh run