Authored by 胡古飞

Update killws.sh

@@ -15,7 +15,7 @@ JBOSS_CHECK_LOG="$LOG_DIR/jboss_stdout.log" @@ -15,7 +15,7 @@ JBOSS_CHECK_LOG="$LOG_DIR/jboss_stdout.log"
15 JBOSS_BASE_DIR=$WEB_APP_HOME/.jboss/default 15 JBOSS_BASE_DIR=$WEB_APP_HOME/.jboss/default
16 TOMCAT_BASE_DIR=$WEB_APP_HOME/.tomcat 16 TOMCAT_BASE_DIR=$WEB_APP_HOME/.tomcat
17 LOCAL_IP=`/sbin/ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"` 17 LOCAL_IP=`/sbin/ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"`
18 -REMOVE_URL="$GW_URL/service_control/unregister?ip=$LOCAL_IP&context=$SERVER_NAMESPACE" 18 +REMOVE_URL="http://api.yoho.yohoops.org/service_control/unregister?ip=$LOCAL_IP&context=$SERVER_NAMESPACE"
19 19
20 20
21 stop_jboss() 21 stop_jboss()