浏览代码

add yxt-gx/deploy-lims.sh

lizw 3 年之前
父节点
当前提交
28629bae52
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      yxt-gx/deploy-lims.sh

+ 3 - 3
yxt-gx/deploy-lims.sh

@@ -5,7 +5,7 @@ set -e
 
 gitUrl=ssh://www@122.9.140.63:3022/bot_yxt/yxt_lmis_gx.git
 dirPath=~/deploy/yxt_lmis_gx
-serverName=yxt_lmis_gx
+serverName=yxt_gx_lmis
 logPath=~/logs/yxt_lmis_gx_nohup.log
 
 cmd=$1
@@ -61,8 +61,8 @@ startServer() {
   if [ -z $pid ];then
     echo -e "$echoPrefix cd $dirPath $echoSuffix"
     cd $dirPath
-    echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8082 >$logPath 2>&1 & $echoSuffix"
-    java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8082 >$logPath 2>&1 &
+    echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8282 >$logPath 2>&1 & $echoSuffix"
+    java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8282 >$logPath 2>&1 &
     echo "$serverName 启动成功!"
   else
     echo "$serverName 正在运行..."