From 902121a72dcbbc56954714114427ca4cec0c9547 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Sat, 7 Jan 2023 09:39:20 -0500 Subject: [PATCH] Fix --no-backup-www bug. --- deployment/www/stop_docker_stacks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/www/stop_docker_stacks.sh b/deployment/www/stop_docker_stacks.sh index a32526f..a20add6 100755 --- a/deployment/www/stop_docker_stacks.sh +++ b/deployment/www/stop_docker_stacks.sh @@ -40,7 +40,7 @@ for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do if [ "$RESTORE_WWW" = true ]; then ./restore_path.sh #ssh "$PRIMARY_WWW_FQDN" sudo chown ubuntu:ubuntu "$REMOTE_HOME/$APP" - else + elif [ "$BACKUP_APPS" = true ]; then # if we're not restoring, then we may or may not back up. ./backup_path.sh fi