File: shutdown.sh

package info (click to toggle)
aodh 21.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,012 kB
  • sloc: python: 11,872; sh: 284; makefile: 207
file content (27 lines) | stat: -rwxr-xr-x 545 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
#
#

set -o errexit

source $GRENADE_DIR/grenaderc
source $GRENADE_DIR/functions

source $BASE_DEVSTACK_DIR/functions
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
source $BASE_DEVSTACK_DIR/lib/tls
source $BASE_DEVSTACK_DIR/lib/apache

# Locate the aodh plugin and get its functions
AODH_DEVSTACK_DIR=$(dirname $(dirname $0))
source $AODH_DEVSTACK_DIR/plugin.sh

set -o xtrace

stop_aodh

# ensure everything is stopped

SERVICES_DOWN="aodh-api aodh-evaluator aodh-listener"

ensure_services_stopped $SERVICES_DOWN