木子李·De преди 4 години
родител
ревизия
bad7a0b512
променени са 3 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 1 0
      report-core/src/main/assembly/bin/restart.sh
  2. 3 1
      report-core/src/main/assembly/bin/start.sh
  3. 0 1
      report-core/src/main/assembly/bin/stop.sh

+ 1 - 0
report-core/src/main/assembly/bin/restart.sh

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

+ 3 - 1
report-core/src/main/assembly/bin/start.sh

@@ -23,4 +23,6 @@ if [ -n "$PIDS" ]; then
 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!"

+ 0 - 1
report-core/src/main/assembly/bin/stop.sh

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