You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
280 B
13 lines
280 B
#!/bin/bash
|
|
|
|
source ./config.sh
|
|
cd ${BIN_DIR}
|
|
|
|
for((i=1;i<=$FRIEND_COUNT;i++))
|
|
do
|
|
./SogLoader --id=${WORLD_ID}.${FRIEND_ID}.$i --cluster=${CFG_PATH}/cluster.json --name=FriendServer $@
|
|
done
|
|
|
|
if [ "$1" = "stop" ] ; then
|
|
wait_to_stop_svr FriendServer $FRIEND_ID $FRIEND_COUNT
|
|
fi
|