diff options
Diffstat (limited to 'apps/collabora_docker.sh')
-rw-r--r-- | apps/collabora_docker.sh | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/apps/collabora_docker.sh b/apps/collabora_docker.sh index a70a4a12..e9d76069 100644 --- a/apps/collabora_docker.sh +++ b/apps/collabora_docker.sh @@ -42,7 +42,14 @@ then # If yes, then stop and prune the docker container docker_prune_this 'collabora/code' # Revoke LE - SUBDOMAIN=$(input_box "Please enter the subdomain you are using for Collabora, e.g: office.yourdomain.com") + while : + do + SUBDOMAIN=$(input_box "Please enter the subdomain you are using for Collabora, e.g: office.yourdomain.com") + if yesno_box_yes "Is this correct? $SUBDOMAIN" + then + break + fi + done if [ -f "$CERTFILES/$SUBDOMAIN/cert.pem" ] then yes no | certbot revoke --cert-path "$CERTFILES/$SUBDOMAIN/cert.pem" @@ -142,10 +149,10 @@ then occ_command app:remove onlyoffice fi -# Ask for the domain for OnlyOffice -while true +# Ask for the domain for Collabora +while : do - # OnlyOffice URL (onlyoffice.sh) + # Collabora URL SUBDOMAIN=$(input_box "Collabora subdomain e.g: office.yourdomain.com\n\nNOTE: This domain must be different than your Nextcloud domain. They can however be hosted on the same server, but would require seperate DNS entries.") if yesno_box_yes "Is this correct? $SUBDOMAIN" then |