cosmjs/scripts/wasmd/stop.sh

12 lines
301 B
Bash
Raw Normal View History

#!/bin/bash
set -o errexit -o nounset -o pipefail
2020-12-08 09:03:14 +01:00
command -v shellcheck >/dev/null && shellcheck "$0"
SCRIPT_DIR="$(realpath "$(dirname "$0")")"
# shellcheck source=./env
# shellcheck disable=SC1091
source "$SCRIPT_DIR"/env
echo "Killing Cosmos container..."
docker container kill "$CONTAINER_NAME"