scripts: Add simapp stop script

This commit is contained in:
willclarktech 2020-07-02 13:05:06 +02:00
parent 60cdda61d1
commit d3a0d2b73d
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

11
scripts/simapp/stop.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
set -o errexit -o nounset -o pipefail
command -v shellcheck > /dev/null && shellcheck "$0"
SCRIPT_DIR="$(realpath "$(dirname "$0")")"
# shellcheck source=./env
# shellcheck disable=SC1091
source "$SCRIPT_DIR"/env
echo "Killing simapp container..."
docker container kill "$CONTAINER_NAME"