[DevStack] Fix fm-rest-api start/stop
Use the correct service name in start_fault() and stop_fault() Change-Id: I881b8e4cbcca3219e7a18fa6f60afc1e442b41f4 Signed-off-by: Dean Troyer <dtroyer@gmail.com>
This commit is contained in:
parent
622ad8d87c
commit
1b5d82dd1d
|
@ -388,7 +388,7 @@ function install_fm_rest_api {
|
||||||
|
|
||||||
function start_fault {
|
function start_fault {
|
||||||
if is_service_enabled fm-rest-api; then
|
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
|
fi
|
||||||
if is_service_enabled fm-mgr; then
|
if is_service_enabled fm-mgr; then
|
||||||
run_process fm-mgr "$STX_BIN_DIR/fmManager start -c $FM_RESTAPI_CONF"
|
run_process fm-mgr "$STX_BIN_DIR/fmManager start -c $FM_RESTAPI_CONF"
|
||||||
|
@ -397,7 +397,7 @@ function start_fault {
|
||||||
|
|
||||||
function stop_fault {
|
function stop_fault {
|
||||||
if is_service_enabled fm-rest-api; then
|
if is_service_enabled fm-rest-api; then
|
||||||
stop_process fm-api
|
stop_process fm-rest-api
|
||||||
fi
|
fi
|
||||||
if is_service_enabled fm-mgr; then
|
if is_service_enabled fm-mgr; then
|
||||||
stop_process fm-mgr
|
stop_process fm-mgr
|
||||||
|
|
Loading…
Reference in New Issue