diff options
Diffstat (limited to 'wfenginemgrservice/src/main/docker/bin')
-rw-r--r-- | wfenginemgrservice/src/main/docker/bin/run.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/wfenginemgrservice/src/main/docker/bin/run.sh b/wfenginemgrservice/src/main/docker/bin/run.sh index 4ce6078..1ffff90 100644 --- a/wfenginemgrservice/src/main/docker/bin/run.sh +++ b/wfenginemgrservice/src/main/docker/bin/run.sh @@ -34,10 +34,13 @@ else fi echo " dwApp_MSB_ADDR=${dwApp_msbClientConfig_msbSvrIp}:${dwApp_msbClientConfig_msbSvrPort}" +sed -i "s/127.0.0.1/$dwApp_msbClientConfig_msbSvrIp/g" ./conf/workflow.yml +sed -i "s/80/$dwApp_msbClientConfig_msbSvrPort/g" ./conf/workflow.yml + if [ -f "$RUNHOME/setenv.sh" ]; then - . "$RUNHOME/setenv.sh" + "$RUNHOME/setenv.sh" else -echo "can not found $RUNHOME/setenv.sh" + echo "can not found $RUNHOME/setenv.sh" fi echo ================== ENV_INFO ============================================= |