提交 9bec32f1 编写于 作者: J Jiangtao Hu 提交者: Yifei Jiang

script: add some delay to make process existance check correct.

上级 30dbe7e4
......@@ -156,6 +156,7 @@ function start() {
eval "nohup ${APOLLO_BIN_PREFIX}/modules/${MODULE}/${MODULE} \
--flagfile=modules/${MODULE}/conf/${MODULE}.conf \
--log_dir=${APOLLO_ROOT_DIR}/data/log $@ </dev/null >${LOG} 2>&1 &"
sleep 0.5
is_stopped "${MODULE}"
if [ $? -eq 0 ]; then
echo "Launched module ${MODULE}."
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册