#!/bin/bash source ./config.sh cd ${BIN_DIR} for((i=1;i<=$FRAMESYNC_COUNT;i++)) do ./SogLoader --id=0.${FRAMESYNC_ID}.$i --cluster=${CFG_PATH}/cluster.json --name=FrameSync $@ done if [ "$1" = "stop" ] ; then wait_to_stop_svr FrameSync $FRAMESYNC_ID 1 fi