diff --git a/report-core/src/main/assembly/bin/restart.sh b/report-core/src/main/assembly/bin/restart.sh index 647ec195..9a5e4169 100755 --- a/report-core/src/main/assembly/bin/restart.sh +++ b/report-core/src/main/assembly/bin/restart.sh @@ -2,3 +2,4 @@ cd `dirname $0` ./stop.sh ./start.sh + diff --git a/report-core/src/main/assembly/bin/start.sh b/report-core/src/main/assembly/bin/start.sh index aaf21de5..c19a47f4 100755 --- a/report-core/src/main/assembly/bin/start.sh +++ b/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 & \ No newline at end of file +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!" \ No newline at end of file diff --git a/report-core/src/main/assembly/bin/stop.sh b/report-core/src/main/assembly/bin/stop.sh index f17f2f8b..6bd74850 100755 --- a/report-core/src/main/assembly/bin/stop.sh +++ b/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"