Merge "Start grafana-server if horizon is available"
This commit is contained in:
commit
f469a2ea4b
|
@ -212,7 +212,7 @@ function start_monasca_services {
|
|||
if is_service_enabled monasca-thresh; then
|
||||
start_service monasca-thresh || restart_service monasca-thresh
|
||||
fi
|
||||
if is_service_enabled grafana-server; then
|
||||
if is_service_enabled horizon; then
|
||||
start_service grafana-server || restart_service grafana-server
|
||||
fi
|
||||
_start_monasca_agent
|
||||
|
@ -224,6 +224,8 @@ function _start_monasca_agent {
|
|||
}
|
||||
|
||||
function unstack_monasca {
|
||||
stop_service grafana-server || true
|
||||
|
||||
stop_service monasca-agent || true
|
||||
|
||||
stop_service monasca-thresh || true
|
||||
|
|
Loading…
Reference in New Issue