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.
14 lines
370 B
14 lines
370 B
1 month ago
|
#!/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
|