Skip to content

Commit 9a83790

Browse files
committed
Use deploy hook directory for certbot.
The change in flag name is necessary after zulip/zulip#20512.
1 parent a8d13a0 commit 9a83790

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,13 +414,13 @@ function runCertbotAsNeeded() {
414414
# Remove the self-signed certs which were only needed to get Zulip going.
415415
rm -f "$DATA_DIR"/certs/zulip.key "$DATA_DIR"/certs/zulip.combined-chain.crt
416416

417-
ZULIP_CERTBOT_DEPLOY_HOOK="/sbin/certbot-deploy-hook"
417+
ln -sf /sbin/certbot-deploy-hook /etc/letsencrypt/renewal-hooks/deploy/docker-deploy-hook
418418

419419
# Accept the terms of service automatically.
420420
/home/zulip/deployments/current/scripts/setup/setup-certbot \
421421
--agree-tos \
422422
--email="$SETTING_ZULIP_ADMINISTRATOR" \
423-
--deploy-hook "$ZULIP_CERTBOT_DEPLOY_HOOK" \
423+
--skip-symlink \
424424
-- \
425425
"$SETTING_EXTERNAL_HOST"
426426

0 commit comments

Comments
 (0)