代码拉取完成,页面将自动刷新
#!/bin/bash
#author cuukenn
bin="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source ${bin}/config/config.properties
dst_log_path=$bin/$DST_LOG_PATH
mkdir -p $dst_log_path
sh scripts/dst-start.sh Master ${DST_CLUSTER_NAME} >>$dst_log_path/Master_${DST_CLUSTER_NAME}.log 2>&1
if [ $? -ne 0 ]; then
echo "Dstserver(Master,$DST_CLUSTER_NAME) is running, no more instance to start"
exit 1
fi
echo "Dstserver(Master,$DST_CLUSTER_NAME) is starting, service will be ready in several time..."
if [ $DST_CAVES_ENABLE -eq 1 ]; then
sh scripts/dst-start.sh Caves ${DST_CLUSTER_NAME} >>$dst_log_path/Caves_${DST_CLUSTER_NAME}.log 2>&1
if [ $? -ne 0 ]; then
echo "Dstserver(Caves,$DST_CLUSTER_NAME) is running, no more instance to start"
exit 1
fi
echo "Dstserver(Caves,$DST_CLUSTER_NAME) is starting, service will be ready in several time..."
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。