提交 4387537a 编写于 作者: A Aaron Xiao 提交者: Dong Li

Scripts: Fix skipping monitor in dev. (#2109)

上级 90fe0020
......@@ -29,20 +29,18 @@ function start() {
if [ "$HOSTNAME" == "in_release_docker" ]; then
supervisord -c /apollo/modules/tools/supervisord/release.conf >& /tmp/supervisord.start.log
echo "Started supervisord with release conf"
supervisorctl start monitor > /dev/null
else
supervisord -c /apollo/modules/tools/supervisord/dev.conf >& /tmp/supervisord.start.log
echo "Started supervisord with dev conf"
fi
supervisorctl start monitor > /dev/null
supervisorctl start dreamview > /dev/null
echo "Dreamview is running at http://localhost:8888"
}
function stop() {
if [ "$HOSTNAME" == "in_release_docker" ]; then
supervisorctl stop monitor > /dev/null 2>&1 &
fi
supervisorctl stop dreamview
supervisorctl stop monitor
pkill -f roscore
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册