Commit 29aa3b7b authored by 白秀江's avatar 白秀江

更新conf-service/start.sh

parent 5742a5c1
...@@ -4,13 +4,7 @@ BIN_DIR=`pwd` ...@@ -4,13 +4,7 @@ BIN_DIR=`pwd`
cd .. cd ..
DEPLOY_DIR=`pwd` DEPLOY_DIR=`pwd`
CONF_DIR=$DEPLOY_DIR/conf CONF_DIR=$DEPLOY_DIR/conf
CONF_PATH=/ifeng/fread/config/core.properties exec pull.sh
SERVER_NAME=`sed '/dubbo.application.name/!d;s/.*=//' $CONF_PATH | tr -d '\r'`
SERVER_PROTOCOL=`sed '/dubbo.protocol.name/!d;s/.*=//' $CONF_PATH | tr -d '\r'`
SERVER_PORT=`sed '/dubbo.protocol.port/!d;s/.*=//' $CONF_PATH | tr -d '\r'`
SERVER_IP=`sed '/dubbo.provider.host/!d;s/.*=//' $CONF_PATH | tr -d '\r'`
LOGS_FILE=`sed '/dubbo.log4j.file/!d;s/.*=//' $CONF_PATH | tr -d '\r'`
if [ -z "$SERVER_NAME" ]; then if [ -z "$SERVER_NAME" ]; then
SERVER_NAME=`hostname` SERVER_NAME=`hostname`
......
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