runNewSmqD.sh 427 B

123456
  1. #!/bin/bash
  2. ROOT=$(cd `dirname $0`/; pwd)
  3. #$ROOT/build/smqdBackup --lookupd-tcp-address=127.0.0.1:9060 --broadcast-address=127.0.0.1 -http-address=0.0.0.0:8051 -tcp-address=0.0.0.0:8050 -data-path=./new
  4. #修改127.0.0.1为主消息服务器的地址
  5. $ROOT/build/smqdBackup --lookupd-tcp-address=127.0.0.1:9060 --broadcast-address=127.0.0.1 -http-address=0.0.0.0:8051 -tcp-address=0.0.0.0:8050 -data-path=./new > newSmqD.log &