From c457118aeca4a19fcf939aecaab52b8bbc9e8baa Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Fri, 9 Feb 2024 11:31:35 -0500 Subject: [PATCH] Fix down script bug. --- deployment/down.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/deployment/down.sh b/deployment/down.sh index d9c324a..1ab8b4e 100755 --- a/deployment/down.sh +++ b/deployment/down.sh @@ -63,23 +63,19 @@ source ./project/domain_env.sh source ./domain_list.sh - - SERVERS= if [ "$SKIP_WWW_SERVER" = false ] && [ -n "$WWW_SERVER_MAC_ADDRESS" ]; then SERVERS="www $SERVERS" fi if [ "$SKIP_BTCPAY_SERVER" = false ] && [ -n "$BTCPAY_SERVER_MAC_ADDRESS" ]; then - SERVERS="btcpayserver" + SERVERS="$SERVERS btcpayserver" fi if [ "$SKIP_LNPLAY_SERVER" = false ] && [ -n "$LNPLAY_SERVER_MAC_ADDRESS" ]; then - SERVERS="lnplayserver $SERVERS" + SERVERS="$SERVERS lnplayserver" fi - - for VIRTUAL_MACHINE in $SERVERS; do INCUS_VM_NAME="$VIRTUAL_MACHINE-${PRIMARY_DOMAIN//./-}"