Commit 1d52eb21 authored by 白秀江's avatar 白秀江

更新conf-service/start.sh

parent d26d60ee
#!/bin/bash
cd `dirname $0`
BIN_DIR=`pwd`
if [ -z "$SERVER_NAME" ]; then
SERVER_NAME=`hostname`
fi
SERVICE_NAME=$(echo $SERVER_NAME | tr -d [0-9])
SERVICE_NAME=${SERVICE_NAME%*-}
......@@ -12,10 +15,7 @@ echo "更新脚本..."
$DEPLOY_DIR/bin/pull.sh
if [ -z "$SERVER_NAME" ]; then
SERVER_NAME=`hostname`
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