Commit a10ae9a3 authored by 白秀江's avatar 白秀江

更新conf-service/start.sh

parent d20c6c08
...@@ -12,7 +12,7 @@ $DEPLOY_DIR/bin/pull.sh ...@@ -12,7 +12,7 @@ $DEPLOY_DIR/bin/pull.sh
if [ -z "$SERVER_NAME" ]; then if [ -z "$SERVER_NAME" ]; then
SERVER_NAME=`hostname` SERVER_NAME=`hostname`
SERVICE_NAME=echo SERVER_NAME | `tr -d [0-9]` SERVICE_NAME=echo SERVER_NAME | `tr -d [0-9]`
SERVICE_NAME=${SERVER_NAME%*-} SERVICE_NAME=${SERVICE_NAME%*-}
fi fi
......
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