Fix Workflow docker script issue
Fix issue: Docker container exits immediately after started.
Issue-Id: SDC-339
Change-Id: I279eebadbc73c2fa1b9fa702eabf16ab5f287146
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
diff --git a/distribution/src/main/assembly/startup.sh b/distribution/src/main/assembly/startup.sh
index d95c99b..503b102 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