zaqar/devstack/upgrade/shutdown.sh
Takashi Kajinami 347d3a8fef Use common helper to generate uwsgi setting
... to reduce own logic in our devstack plugin. Note that this adds
apache web server in front of zaqar-api run by uwsgi, following
the standard architecture in devstack.

Change-Id: I0e7f48c8568fe461304e6e39d9f61c4268154a6f
2024-11-25 23:37:17 +09:00

25 lines
509 B
Bash
Executable File

#!/bin/bash
#
#
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
# Keep track of the DevStack directory
ZAQAR_DEVSTACK_DIR=$(dirname "$0")/..
source $ZAQAR_DEVSTACK_DIR/settings
source $ZAQAR_DEVSTACK_DIR/plugin.sh
set -o xtrace
for serv in zaqar-wsgi zaqar-websocket; do
stop_process $serv
done