certbot: Switch to use certbot from apt.

certbot-auto doesn’t work on Ubuntu 20.04, and won’t be updated; we
migrate to instead using the certbot package shipped with the OS
instead. Also made sure that sure certbot gets installed when running
zulip-puppet-apply, to handle existing systems.
This commit is contained in:
arpit551
2020-05-21 02:06:50 +05:30
committed by Tim Abbott
parent 7e75a7e336
commit 9e8f1aacb3
3 changed files with 23 additions and 11 deletions

View File

@@ -17,6 +17,6 @@ fi
deploy_hook="${ZULIP_CERTBOT_DEPLOY_HOOK:-service nginx reload}"
/usr/local/sbin/certbot-auto renew --quiet \
certbot renew --quiet \
--webroot --webroot-path=/var/lib/zulip/certbot-webroot/ \
--deploy-hook "$deploy_hook"