From d88814e6e4409d6dd88e198744e0d92f5fb9084e Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Sat, 12 Aug 2023 12:19:44 -0400 Subject: [PATCH] Clams server updates. --- deployment/down.sh | 2 ++ deployment/stub_lxc_profile.sh | 7 +++++++ deployment/up.sh | 28 +++++++++++++++++----------- 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/deployment/down.sh b/deployment/down.sh index 5672367..ef43ab2 100755 --- a/deployment/down.sh +++ b/deployment/down.sh @@ -91,6 +91,8 @@ for VIRTUAL_MACHINE in www btcpayserver; do VM_ID=w if [ "$VIRTUAL_MACHINE" = btcpayserver ]; then VM_ID="b" + elif [ "$VIRTUAL_MACHINE" = clamsserver ]; then + VM_ID="c" fi # d for docker; b for backup; s for ss-data diff --git a/deployment/stub_lxc_profile.sh b/deployment/stub_lxc_profile.sh index 9ef1d45..6eed3d9 100755 --- a/deployment/stub_lxc_profile.sh +++ b/deployment/stub_lxc_profile.sh @@ -73,6 +73,13 @@ if [ "$VIRTUAL_MACHINE" = btcpayserver ]; then EOF +elif [ "$VIRTUAL_MACHINE" = clamsserver ]; then + cat >> "$YAML_PATH" <./project/clams-server/active_env.txt <./project/clams-server/active_env.txt < ./project/clams-server/environments/"$CLAMS_SERVER_FQDN" <