From de7352029bcc5892f34b1b261953ecbb38e899e6 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Thu, 11 Aug 2022 11:56:02 +0800 Subject: [PATCH] 01xxljob.sh --- hua_wei_yun/01xxljob.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hua_wei_yun/01xxljob.sh b/hua_wei_yun/01xxljob.sh index 5a4edc9..ab15cda 100644 --- a/hua_wei_yun/01xxljob.sh +++ b/hua_wei_yun/01xxljob.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-mysql-2.3.0.jar --spring.config.location=conf/ --spring.profiles.active=global,$profiles --server.port=9000 >>/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=9000 >>/dev/null 2>&1 & echo "$serverName 启动成功!" else echo "$serverName 正在运行..."