From 1288962d790eaa3d8f545d12629d3cfed096825d Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Sun, 25 Dec 2022 13:00:45 -0500 Subject: [PATCH] Add switch to restart nginx stack + cert renewal. --- deploy.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy.sh b/deploy.sh index 67bc505..9f41474 100755 --- a/deploy.sh +++ b/deploy.sh @@ -53,6 +53,10 @@ for i in "$@"; do STOP_SERVICES=true shift ;; + --restart-front-end) + RESTART_FRONT_END=true + shift + ;; --domain=*) DOMAIN_NAME="${i#*=}" shift @@ -117,6 +121,7 @@ export CLUSTER_NAME="$CLUSTER_NAME" export CLUSTER_PATH="$CLUSTERS_DIR/$CLUSTER_NAME" export USER_SAYS_YES="$USER_SAYS_YES" export BACKUP_BTCPAY_ARCHIVE_PATH="$BACKUP_BTCPAY_ARCHIVE_PATH" +export RESTART_FRONT_END="$RESTART_FRONT_END" # ensure our cluster path is created.