diff --git a/01dongying_guokang/01wms8-test.sh b/01dongying_guokang/01wms8-test.sh index 8c6f6cf..9744e36 100644 --- a/01dongying_guokang/01wms8-test.sh +++ b/01dongying_guokang/01wms8-test.sh @@ -197,16 +197,21 @@ logs() { tail -F $logPath -n 100 } +deployYvanUI() { + bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/00base/01yvan-ext.sh) deploy + bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/00base/02yvan-ext-mobile.sh) deploy +} + pid=`ps -ef | grep "DappName=${serverName}" | grep -v 'grep' | awk '{print $2}'` # 操作参数: pull deploy restart start stop kill log logs if [ "$cmd" == "pull" ];then - bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/00base/01yvan-ext.sh) deploy + deployYvanUI deployPull if [ -z $pid ];then echo "$serverName 未运行 | 输入操作参数: pull deploy restart start stop kill log logs" fi elif [ "$cmd" == "deploy" ];then - bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/00base/01yvan-ext.sh) deploy + deployYvanUI deployServer $pid elif [ "$cmd" == "restart" ];then restartServer $pid