From 4bea32f4ffb6ef227f35b8862b68ef91dcbdf7d4 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Fri, 3 Feb 2023 15:23:38 +0800 Subject: [PATCH] 01xxljob-yn-test.sh --- yxt-db-pg/01xxljob-yn-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yxt-db-pg/01xxljob-yn-test.sh b/yxt-db-pg/01xxljob-yn-test.sh index 80a5919..1de0a5c 100644 --- a/yxt-db-pg/01xxljob-yn-test.sh +++ b/yxt-db-pg/01xxljob-yn-test.sh @@ -23,8 +23,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 bin/xxl-job-admin-mysql-2.3.0.jar --spring.config.location=conf/ --spring.profiles.active=global,$profiles --server.port=8000 >>/dev/null 2>&1 & $echoSuffix" - java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar bin/xxl-job-admin-mysql-2.3.0.jar --spring.config.location=conf/ --spring.profiles.active=global,$profiles --server.port=8000 >>/dev/null 2>&1 & + echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar bin/xxl-job-admin-postgres-2.3.0.jar --spring.config.location=conf/ --spring.profiles.active=global,$profiles --server.port=8000 >>/dev/null 2>&1 & $echoSuffix" + java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar bin/xxl-job-admin-postgres-2.3.0.jar --spring.config.location=conf/ --spring.profiles.active=global,$profiles --server.port=8000 >>/dev/null 2>&1 & echo "$serverName 启动成功!" else echo "$serverName 正在运行..."