木子李·De 3 years ago
parent d4bd6ffa02
commit bad7a0b512

@ -2,3 +2,4 @@
cd `dirname $0` cd `dirname $0`
./stop.sh ./stop.sh
./start.sh ./start.sh

@ -23,4 +23,6 @@ if [ -n "$PIDS" ]; then
fi fi
nohup java -Xbootclasspath/a:$LIB_JARS $JAVA_OPTS -jar -Dspring.config.location=$CONF_DIR/bootstrap-dev.yml $LIB_DIR/report-core-1.0.0-SNAPSHOT.jar >/dev/null 2>&1 & 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 &
echo "The AJ-Report started!"

@ -5,7 +5,6 @@ if [ -z "$pid" ] ; then
exit -1; exit -1;
fi fi
kill -9 ${pid} kill -9 ${pid}
echo "Send shutdown request to report-core(${pid}) OK" echo "Send shutdown request to report-core(${pid}) OK"

Loading…
Cancel
Save