From df205cfabf3f2bee31561af1c8b6e036280829e6 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Thu, 9 Mar 2023 10:51:15 -0500 Subject: [PATCH] Deployment improvements. --- stub_lxc_profile.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/stub_lxc_profile.sh b/stub_lxc_profile.sh index 71321a2..5da7528 100755 --- a/stub_lxc_profile.sh +++ b/stub_lxc_profile.sh @@ -3,7 +3,7 @@ set -exu cd "$(dirname "$0")" -VIRTUAL_MACHINE= +VIRTUAL_MACHINE=base LXD_HOSTNAME= # grab any modifications from the command line. @@ -46,8 +46,9 @@ if [ "$VIRTUAL_MACHINE" = www ]; then limits.memory: "${WWW_SERVER_MEMORY_MB}MB" EOF +fi -else [ "$VIRTUAL_MACHINE" = btcpayserver ]; +if [ "$VIRTUAL_MACHINE" = btcpayserver ]; then cat >> "$YAML_PATH" <> "$YAML_PATH" <> "$YAML_PATH" <