who_need_help/scripts/scale-stack-stop.sh

11 lines
271 B
Bash
Executable File

#!/bin/sh
set -eu
ROOT=$(CDPATH='' cd -- "$(dirname -- "$0")/.." && pwd)
# shellcheck source=scripts/scale-common.sh
. "$ROOT/scripts/scale-common.sh"
scale_load_environment
scale_compose stop
printf 'Stopped %s; its PostgreSQL volume was preserved.\n' "$LOAD_PROJECT"