Browse Source

01xxljob.sh

master
lizw 3 years ago
parent
commit
8bf975a196
  1. 4
      hua_wei_yun/01xxljob.sh

4
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=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 -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=8001 >>/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=8001 >>/dev/null 2>&1 &
echo "$serverName 启动成功!"
else
echo "$serverName 正在运行..."

Loading…
Cancel
Save