Add switch to restart nginx stack + cert renewal.

This commit is contained in:
Derek Smith 2022-12-25 13:00:45 -05:00
parent 1bc685fa74
commit 1288962d79
Signed by: farscapian
GPG Key ID: 8F1CD799CCA516CC

View File

@ -53,6 +53,10 @@ for i in "$@"; do
STOP_SERVICES=true STOP_SERVICES=true
shift shift
;; ;;
--restart-front-end)
RESTART_FRONT_END=true
shift
;;
--domain=*) --domain=*)
DOMAIN_NAME="${i#*=}" DOMAIN_NAME="${i#*=}"
shift shift
@ -117,6 +121,7 @@ export CLUSTER_NAME="$CLUSTER_NAME"
export CLUSTER_PATH="$CLUSTERS_DIR/$CLUSTER_NAME" export CLUSTER_PATH="$CLUSTERS_DIR/$CLUSTER_NAME"
export USER_SAYS_YES="$USER_SAYS_YES" export USER_SAYS_YES="$USER_SAYS_YES"
export BACKUP_BTCPAY_ARCHIVE_PATH="$BACKUP_BTCPAY_ARCHIVE_PATH" export BACKUP_BTCPAY_ARCHIVE_PATH="$BACKUP_BTCPAY_ARCHIVE_PATH"
export RESTART_FRONT_END="$RESTART_FRONT_END"
# ensure our cluster path is created. # ensure our cluster path is created.