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