Debian Codegraph @

devstack/upgrade/shutdown.sh

raw
1 #!/bin/bash
2 #
3 #
4
5 set -o errexit
6
7 source $GRENADE_DIR/grenaderc
8 source $GRENADE_DIR/functions
9
10 source $BASE_DEVSTACK_DIR/functions
11 source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
12 source $BASE_DEVSTACK_DIR/lib/tls
13 source $BASE_DEVSTACK_DIR/lib/apache
14
15 # Locate the cloudkitty plugin and get its functions
16 CLOUDKITTY_DEVSTACK_DIR=$(dirname $(dirname $0))
17 source $CLOUDKITTY_DEVSTACK_DIR/plugin.sh
18
19 set -o xtrace
20
21 stop_cloudkitty
22
23 # ensure everything is stopped
24
25 SERVICES_DOWN="ck-api ck-proc"
26
27 ensure_services_stopped $SERVICES_DOWN