entrypoint: Update for incompatible change to setup-certbot usage

https://github.com/zulip/zulip/pull/10699

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2019-03-11 23:18:23 +00:00
committed by Tim Abbott
parent 4f5d3e85b8
commit c82b02aa16

View File

@@ -397,9 +397,10 @@ function runCertbotAsNeeded() {
# Accept the terms of service automatically.
/home/zulip/deployments/current/scripts/setup/setup-certbot \
--agree-tos \
--hostname="$SETTING_EXTERNAL_HOST" \
--email="$SETTING_ZULIP_ADMINISTRATOR" \
--deploy-hook "$ZULIP_CERTBOT_DEPLOY_HOOK"
--deploy-hook "$ZULIP_CERTBOT_DEPLOY_HOOK" \
-- \
"$SETTING_EXTERNAL_HOST"
echo "LetsEncrypt cert generated."
}