Authored by chunhua.zhang

添加group的配置

@@ -32,13 +32,12 @@ export CHECK_SERVER_STARTUP_URL="http://127.0.0.1:$HTTP_SERVER_PORT/$SERVER_NAME @@ -32,13 +32,12 @@ export CHECK_SERVER_STARTUP_URL="http://127.0.0.1:$HTTP_SERVER_PORT/$SERVER_NAME
32 export STARTUP_SUCCESS_MSG="Server Online Resources ok" 32 export STARTUP_SUCCESS_MSG="Server Online Resources ok"
33 33
34 export GROUP=${yoho.env.group} 34 export GROUP=${yoho.env.group}
35 -if [ "$GROUP" = ".env.group" ];then  
36 - export JAVA_OPTS=" -XX:-OmitStackTraceInFastThrow -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true "  
37 -else  
38 - export JAVA_OPTS=" -XX:-OmitStackTraceInFastThrow -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dgroup=$GROUP "  
39 -fi  
40 -  
41 -export JAVA_OPTS=" -XX:-OmitStackTraceInFastThrow -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true " 35 + if [ "$GROUP" = ".env.group" ];then
  36 + export JAVA_OPTS=" -XX:-OmitStackTraceInFastThrow -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true "
  37 + else
  38 + export JAVA_OPTS=" -XX:-OmitStackTraceInFastThrow -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dgroup=$GROUP "
  39 + fi
  40 +
42 export JAVA_DEBUG_OPT=" -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$DEBUG_PORT,server=y,suspend=n " 41 export JAVA_DEBUG_OPT=" -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$DEBUG_PORT,server=y,suspend=n "
43 42
44 #jmx 43 #jmx