Browse Source

更新 'yxt-db-pg/21wms-test-d113.sh'

master
maqianli 2 months ago
parent
commit
341e9e2245
  1. 12
      yxt-db-pg/21wms-test-d113.sh

12
yxt-db-pg/21wms-test-d113.sh

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

Loading…
Cancel
Save