#!/bin/bash echo ------------------run_version_start-------------------- source ./config.sh cd ${BIN_DIR} ./SogLoader --id=0.${VERSIONSVR_ID}.$CLUSTER_INST_ID --cluster=${CFG_PATH}/cluster.json --name=VersionServer $@ if [ "$1" = "stop" ] ; then wait_to_stop_svr VersionServer $VERSIONSVR_ID 1 fi echo ------------------run_version_end-------------------- exit 0