Compare commits

...

3 Commits

Author SHA1 Message Date
7a710d0916
Only renew certs when ! --stop 2023-03-27 11:05:20 -04:00
79924633f5
Improve stdout output. 2023-03-27 11:05:02 -04:00
130bcedf94
Make Clams browser-app non-default 2023-03-27 11:04:29 -04:00
3 changed files with 4 additions and 4 deletions

View File

@ -213,7 +213,7 @@ DOMAIN_NAME="${DOMAIN_NAME}"
SITE_LANGUAGE_CODES="en" SITE_LANGUAGE_CODES="en"
DUPLICITY_BACKUP_PASSPHRASE="$(new_pass)" DUPLICITY_BACKUP_PASSPHRASE="$(new_pass)"
DEPLOY_GHOST=true DEPLOY_GHOST=true
DEPLOY_CLAMS=true DEPLOY_CLAMS=false
DEPLOY_NEXTCLOUD=false DEPLOY_NEXTCLOUD=false
NOSTR_ACCOUNT_PUBKEY= NOSTR_ACCOUNT_PUBKEY=
DEPLOY_GITEA=false DEPLOY_GITEA=false
@ -249,7 +249,6 @@ for PROJECT_CHAIN in ${DEPLOYMENT_STRING//,/ }; do
if [ -n "$USER_TARGET_PROJECT" ]; then if [ -n "$USER_TARGET_PROJECT" ]; then
if [ "$PROJECT_NAME" != "$USER_TARGET_PROJECT" ]; then if [ "$PROJECT_NAME" != "$USER_TARGET_PROJECT" ]; then
echo "INFO: Skipping project '$PROJECT_NAME' since the system owner has used the --project switch."
continue continue
fi fi
fi fi

View File

@ -99,8 +99,10 @@ if [ "$RESTART_FRONT_END" = true ]; then
# generate the certs and grab a backup # generate the certs and grab a backup
if [ "$RUN_CERT_RENEWAL" = true ] && [ "$RESTORE_CERTS" = false ]; then if [ "$RUN_CERT_RENEWAL" = true ] && [ "$RESTORE_CERTS" = false ]; then
if [ "$STOP_SERVICES" = false ]; then
./generate_certs.sh ./generate_certs.sh
fi fi
fi
# let's backup all our letsencrypt certs # let's backup all our letsencrypt certs
export APP="letsencrypt" export APP="letsencrypt"

View File

@ -19,7 +19,6 @@ if [ "$USER_SAYS_YES" = false ]; then
RESPONSE= RESPONSE=
read -r -p "Are you sure you want to restore the local path '$LOCAL_BACKUP_PATH' to the remote server at '$PRIMARY_WWW_FQDN' (y/n)": RESPONSE read -r -p "Are you sure you want to restore the local path '$LOCAL_BACKUP_PATH' to the remote server at '$PRIMARY_WWW_FQDN' (y/n)": RESPONSE
if [ "$RESPONSE" != "y" ]; then if [ "$RESPONSE" != "y" ]; then
echo "STOPPING."
exit 0 exit 0
fi fi