grenade: Start/stop services using unit names
Starting and stopping these with process names is deprecated and leads to confusing output. Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Change-Id: I85b38aecd1693601777ab932ba322bbc9f3dc1bd
This commit is contained in:
@@ -19,4 +19,4 @@ set -o xtrace
|
||||
stop_manila
|
||||
|
||||
# Ensure everything is stopped
|
||||
ensure_services_stopped manila-api manila-share manila-scheduler manila-data
|
||||
ensure_services_stopped m-api m-sch m-shr m-dat
|
||||
|
||||
@@ -65,7 +65,7 @@ $MANILA_BIN_DIR/manila-manage db sync || die $LINENO "DB migration error"
|
||||
start_manila
|
||||
|
||||
# Don't succeed unless the services come up
|
||||
ensure_services_started manila-api manila-share manila-scheduler manila-data
|
||||
ensure_services_started m-api m-sch m-shr m-dat
|
||||
|
||||
set +o xtrace
|
||||
echo "*********************************************************************"
|
||||
|
||||
Reference in New Issue
Block a user