mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 08:03:42 +00:00
14 lines
257 B
Bash
Executable file
14 lines
257 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# shellcheck disable=SC1091
|
|
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/lib/runtime-env.sh"
|
|
|
|
args=(down --remove-orphans)
|
|
|
|
if [[ "${1:-}" == "--volumes" ]]; then
|
|
args+=(--volumes)
|
|
fi
|
|
|
|
compose "${args[@]}"
|