From 5c9ea816cdf5605b1f4fe45ec1ba03e815815b35 Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Tue, 10 Oct 2017 17:13:28 +0800 Subject: [PATCH] Fix Workflow docker script issue Fix issue: Docker container exits immediately after started. Issue-Id: SDC-339 Change-Id: I279eebadbc73c2fa1b9fa702eabf16ab5f287146 Signed-off-by: HuabingZhao --- distribution/src/main/assembly/startup.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.16.6