Clean up unused CLI.

This commit is contained in:
Derek Smith 2023-03-09 15:35:18 -05:00
parent df205cfabf
commit bdd8077922
Signed by: farscapian
GPG Key ID: B443E530A14E1C90

View File

@ -73,10 +73,6 @@ for i in "$@"; do
RUN_CERT_RENEWAL=false RUN_CERT_RENEWAL=false
shift shift
;; ;;
--backup-certs)
BACKUP_CERTS=true
shift
;;
--no-backup-www) --no-backup-www)
BACKUP_CERTS=false BACKUP_CERTS=false
BACKUP_APPS=false BACKUP_APPS=false
@ -91,10 +87,6 @@ for i in "$@"; do
RESTART_FRONT_END=true RESTART_FRONT_END=true
shift shift
;; ;;
--domain=*)
DOMAIN_NAME="${i#*=}"
shift
;;
--backup-archive-path=*) --backup-archive-path=*)
BACKUP_BTCPAY_ARCHIVE_PATH="${i#*=}" BACKUP_BTCPAY_ARCHIVE_PATH="${i#*=}"
shift shift
@ -111,10 +103,6 @@ for i in "$@"; do
SKIP_BTCPAY=true SKIP_BTCPAY=true
shift shift
;; ;;
--backup-ghost)
BACKUP_APPS=true
shift
;;
--no-cert-renew) --no-cert-renew)
RUN_CERT_RENEWAL=false RUN_CERT_RENEWAL=false
shift shift
@ -263,7 +251,7 @@ EOL
chmod 0744 "$PROJECT_DEFINITION_PATH" chmod 0744 "$PROJECT_DEFINITION_PATH"
echo "INFO: we stubbed a new project_defition for you at '$PROJECT_DEFINITION_PATH'. Go update it!" echo "INFO: we stubbed a new project_defition for you at '$PROJECT_DEFINITION_PATH'. Go update it!"
echo "INFO: Learn more at https://www.sovereign-stack.org/projects/" echo "INFO: Learn more at https://www.sovereign-stack.org/ss-deploy/"
exit 1 exit 1
fi fi
@ -345,7 +333,7 @@ for VIRTUAL_MACHINE in www btcpayserver; do
# VALIDATE THE INPUT from the ENVFILE # VALIDATE THE INPUT from the ENVFILE
if [ -z "$DOMAIN_NAME" ]; then if [ -z "$DOMAIN_NAME" ]; then
echo "ERROR: DOMAIN_NAME not specified. Use the --domain-name= option." echo "ERROR: DOMAIN_NAME not specified in your site_definition."
exit 1 exit 1
fi fi