Fix Workflow docker script issue 03/17903/1
authorHuabingZhao <zhao.huabing@zte.com.cn>
Tue, 10 Oct 2017 09:13:28 +0000 (17:13 +0800)
committerHuabingZhao <zhao.huabing@zte.com.cn>
Tue, 10 Oct 2017 09:13:34 +0000 (17:13 +0800)
Fix issue: Docker container exits immediately after started.

Issue-Id: SDC-339
Change-Id: I279eebadbc73c2fa1b9fa702eabf16ab5f287146
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
distribution/src/main/assembly/startup.sh

index d95c99b..503b102 100644 (file)
 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