#!/bin/bash source ./config.sh cd ${BIN_DIR} ./SogLoader --id=${WORLD_ID}.${CHAT_ID}.1 --cluster=${CFG_PATH}/cluster.json --name=ChatServer $@ if [ "$1" = "stop" ] ; then wait_to_stop_svr ChatServer $CHAT_ID 1 fi