diff options
author | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-10-10 17:13:28 +0800 |
---|---|---|
committer | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-10-10 17:13:34 +0800 |
commit | 5c9ea816cdf5605b1f4fe45ec1ba03e815815b35 (patch) | |
tree | 862adc9d61f36921f91443904e78ec09936ff5ea /distribution | |
parent | 80602772fc201ecad12ef645d3e7ca5a42d9c133 (diff) |
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>
Diffstat (limited to 'distribution')
-rw-r--r-- | distribution/src/main/assembly/startup.sh | 5 |
1 files 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 |