diff --git a/yxt-gx/deploy-lims.sh b/yxt-gx/deploy-lims.sh index a534488..3ff2c3c 100644 --- a/yxt-gx/deploy-lims.sh +++ b/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 正在运行..."