Commit 93ae74c3 authored by 白秀江's avatar 白秀江

更新conf-service/start.sh

parent a10ae9a3
......@@ -11,10 +11,10 @@ $DEPLOY_DIR/bin/pull.sh
if [ -z "$SERVER_NAME" ]; then
SERVER_NAME=`hostname`
SERVICE_NAME=echo SERVER_NAME | `tr -d [0-9]`
SERVICE_NAME=${SERVICE_NAME%*-}
fi
SERVICE_NAME=echo SERVER_NAME | `tr -d [0-9]`
SERVICE_NAME=${SERVICE_NAME%*-}
PIDS=`ps -f | grep java | grep "$CONF_DIR" |awk '{print $2}'`
if [ -n "$PIDS" ]; then
......
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