53fd84afb5
this change will migrate the "sahara" process name to "sahara-all" to provide greater clarity on what service process is running. * change start process to sahara-all * change stop process to sahara-all * add a sahara-all detection to is_service_enabled * remove dirname usage in favor of GITDIR environment variable for the shutdown script Change-Id: I80b82edbc6023d4dc28f005fecd8f2138809bbe3
23 lines
444 B
Bash
Executable File
23 lines
444 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# ``shutdown-sahara``
|
|
|
|
set -o errexit
|
|
|
|
source $GRENADE_DIR/grenaderc
|
|
source $GRENADE_DIR/functions
|
|
|
|
# We need base DevStack functions for this
|
|
source $BASE_DEVSTACK_DIR/functions
|
|
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
|
|
|
|
source $BASE_DEVSTACK_DIR/lib/tls
|
|
source ${GITDIR[sahara]}/devstack/plugin.sh
|
|
|
|
set -o xtrace
|
|
|
|
stop_sahara
|
|
|
|
# sanity check that service is actually down
|
|
ensure_services_stopped sahara-all
|