Authored by 胡古飞

Update killws.sh

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