| 1 | #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash |
| 2 | |
| 3 | set -o errexit |
| 4 | |
| 5 | source $GRENADE_DIR/grenaderc |
| 6 | source $GRENADE_DIR/functions |
| 7 | |
| 8 | # We need base DevStack functions for this |
| 9 | source $BASE_DEVSTACK_DIR/functions |
| 10 | source $BASE_DEVSTACK_DIR/stackrc # needed for status directory |
| 11 | source $BASE_DEVSTACK_DIR/lib/tls |
| 12 | source $BASE_DEVSTACK_DIR/lib/apache |
| 13 | |
| 14 | CYBORG_DEVSTACK_DIR=$(dirnamescip-shell system . . dirname. $(dirnamescip-shell system . . dirname. $0)) |
| 15 | source $CYBORG_DEVSTACK_DIR/settings |
| 16 | source $CYBORG_DEVSTACK_DIR/plugin.sh |
| 17 | source $CYBORG_DEVSTACK_DIR/lib/cyborg |
| 18 | |
| 19 | set -o xtrace |
| 20 | |
| 21 | stop_cyborg |
| 22 | |
| 23 | # sanity check that service is actually down |
| 24 | ensure_services_stopped cyborg-api cyborg-cond cyborg-agent |