From 318d1e31364934371a12d8527389035362581ff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E5=AD=90=E6=9D=8E=C2=B7De?= Date: Sat, 24 Jul 2021 10:40:37 +0800 Subject: [PATCH] update --- report-core/src/main/assembly/assembly.xml | 2 +- report-core/src/main/assembly/bin/start.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/report-core/src/main/assembly/assembly.xml b/report-core/src/main/assembly/assembly.xml index e68cf8c6..63268c8d 100755 --- a/report-core/src/main/assembly/assembly.xml +++ b/report-core/src/main/assembly/assembly.xml @@ -42,7 +42,7 @@ target lib - report-core-*.jar + aj-report-*.jar *-javadoc.jar diff --git a/report-core/src/main/assembly/bin/start.sh b/report-core/src/main/assembly/bin/start.sh index c19a47f4..c4fc496b 100755 --- a/report-core/src/main/assembly/bin/start.sh +++ b/report-core/src/main/assembly/bin/start.sh @@ -15,7 +15,7 @@ echo "$DEPLOY_DIR" echo "$LIB_JARS" -PIDS=`ps -f | grep java | grep "report-core" |awk '{print $2}'` +PIDS=`ps -f | grep java | grep "aj-report" |awk '{print $2}'` if [ -n "$PIDS" ]; then echo "ERROR: The AJ-Report already started!" echo "PID: $PIDS" @@ -23,6 +23,6 @@ if [ -n "$PIDS" ]; then fi -nohup java $JAVA_OPTS -jar -Dspring.config.location=$CONF_DIR/bootstrap-dev.yml $LIB_DIR/report-core-1.0.0-SNAPSHOT.jar -Xbootclasspath/a:$LIB_JARS >/dev/null 2>&1 & +nohup java $JAVA_OPTS -jar -Dspring.config.location=$CONF_DIR/bootstrap.yml $LIB_DIR/aj-report-*.jar -Xbootclasspath/a:$LIB_JARS >/dev/null 2>&1 & echo "The AJ-Report started!" \ No newline at end of file