Commit 37f35a56 authored by 白秀江's avatar 白秀江

更新conf-service/start.sh

parent 6275a738
...@@ -46,10 +46,7 @@ LIB_DIR=$DEPLOY_DIR/lib ...@@ -46,10 +46,7 @@ LIB_DIR=$DEPLOY_DIR/lib
LIB_JARS=$DEPLOY_DIR/lib/config-web.jar LIB_JARS=$DEPLOY_DIR/lib/config-web.jar
JAVA_OPTS=" -Dspring.profiles.active=prod -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true " JAVA_OPTS=" -Dspring.profiles.active=prod -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true "
JAVA_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=15051" JAVA_DEBUG_OPTS=""
if [ "$1" = "debug" ]; then
JAVA_DEBUG_OPTS=" -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n "
fi
JAVA_JMX_OPTS="" JAVA_JMX_OPTS=""
if [ "$1" = "jmx" ]; then if [ "$1" = "jmx" ]; then
JAVA_JMX_OPTS=" -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false " JAVA_JMX_OPTS=" -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment