Amend bash

This commit is contained in:
gaohongtao 2018-02-28 22:56:01 +08:00
parent 9cb0a533db
commit cfb64629da
2 changed files with 3 additions and 3 deletions

View File

@ -5,6 +5,6 @@ PRGDIR=`dirname "$PRG"`
COLLECTOR_EXE=collectorService.sh
WEBAPP_EXE=webappService.sh
exec "$PRGDIR"/"$COLLECTOR_EXE" start
"$PRGDIR"/"$COLLECTOR_EXE"
exec "$PRGDIR"/"$WEBAPP_EXE" start
"$PRGDIR"/"$WEBAPP_EXE"

View File

@ -2,7 +2,7 @@
PRG="$0"
PRGDIR=`dirname "$PRG"`
[ -z "$WEBAPP_HOME" ] && $WEBAPP_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
[ -z "$WEBAPP_HOME" ] && WEBAPP_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
WEBAPP_LOG_DIR="${WEBAPP_HOME}/logs"
JAVA_OPTS=" -Xms256M -Xmx512M"