Commit 089ae294 authored by 白秀江's avatar 白秀江

更新conf-service/start.sh

parent ad98555a
......@@ -13,7 +13,7 @@ if [ -z "$SERVER_NAME" ]; then
SERVER_NAME=`hostname`
fi
SERVICE_NAME=echo $SERVER_NAME | tr -d [0-9]
SERVICE_NAME=$(echo $SERVER_NAME | tr -d [0-9])
SERVICE_NAME=${SERVICE_NAME%*-}
PIDS=`ps -f | grep java | grep "$CONF_DIR" |awk '{print $2}'`
......
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