This commit is contained in:
2025-08-31 18:17:59 +00:00
parent e330216375
commit 2f776792e3

View File

@@ -2,9 +2,7 @@
set -euo pipefail set -euo pipefail
DOMAIN="${1:-${DOMAIN:-}}" DOMAIN="${1:-${DOMAIN:-}}"
if [[ -z "$DOMAIN" ]]; then if [[ -z "$DOMAIN" ]]; then echo "Usage: $0 <full-domain>"; exit 1; fi
echo "Usage: $0 <full-domain>"; exit 1
fi
STACK="${STACK:-${DOMAIN%.*}}" # domain minus TLD STACK="${STACK:-${DOMAIN%.*}}" # domain minus TLD
BASE="/mnt/data/sites/$DOMAIN" BASE="/mnt/data/sites/$DOMAIN"