Merge "[DevStack] Fix fm-rest-api start/stop"

This commit is contained in:
Zuul 2019-04-03 18:20:59 +00:00 committed by Gerrit Code Review
commit ba6f1625b1
1 changed files with 2 additions and 2 deletions

View File

@ -388,7 +388,7 @@ function install_fm_rest_api {
function start_fault {
if is_service_enabled fm-rest-api; then
run_process fm-api "$STX_BIN_DIR/fm-api --config-file $FM_RESTAPI_CONF"
run_process fm-rest-api "$STX_BIN_DIR/fm-api --config-file $FM_RESTAPI_CONF"
fi
if is_service_enabled fm-mgr; then
run_process fm-mgr "$STX_BIN_DIR/fmManager start -c $FM_RESTAPI_CONF"
@ -397,7 +397,7 @@ function start_fault {
function stop_fault {
if is_service_enabled fm-rest-api; then
stop_process fm-api
stop_process fm-rest-api
fi
if is_service_enabled fm-mgr; then
stop_process fm-mgr