mirror of
https://gitee.com/anji-plus/report.git
synced 2026-03-20 09:38:35 +08:00
update
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<directory>target</directory>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
<includes>
|
||||
<include>report-core-*.jar</include>
|
||||
<include>aj-report-*.jar</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>*-javadoc.jar</exclude>
|
||||
|
||||
@@ -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!"
|
||||
Reference in New Issue
Block a user