File: shutdown.sh

package info (click to toggle)
cloudkitty 23.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,528 kB
  • sloc: python: 21,803; sh: 528; makefile: 226; pascal: 54
file content (27 lines) | stat: -rwxr-xr-x 546 bytes parent folder | download | duplicates (3)
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 cloudkitty plugin and get its functions
CLOUDKITTY_DEVSTACK_DIR=$(dirname $(dirname $0))
source $CLOUDKITTY_DEVSTACK_DIR/plugin.sh

set -o xtrace

stop_cloudkitty

# ensure everything is stopped

SERVICES_DOWN="ck-api ck-proc"

ensure_services_stopped $SERVICES_DOWN