From 8e5da896a20f5b5f2e9a90f9876f77d7184b74db Mon Sep 17 00:00:00 2001 From: jasquat Date: Fri, 10 Jun 2022 17:00:00 -0400 Subject: [PATCH] added docker restart command w/ burnettk --- bin/docker_restart | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bin/docker_restart diff --git a/bin/docker_restart b/bin/docker_restart new file mode 100755 index 00000000..dbb0ee83 --- /dev/null +++ b/bin/docker_restart @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +function error_handler() { + >&2 echo "Exited with BAD EXIT CODE '${2}' in ${0} script at line: ${1}." + exit "$2" +} +trap 'error_handler ${LINENO} $?' ERR +set -o errtrace -o errexit -o nounset -o pipefail + +BPMN_SPEC_ABSOLUTE_DIR=..//sample-process-models docker compose stop +./bin/build_and_run_with_docker_compose