zulip/docs/production
Alex Vandiver 01e8f752a8 puppet: Use certbot package timer, not our own cron job.
The certbot package installs its own systemd timer (and cron job,
which disabled itself if systemd is enabled) which updates
certificates.  This process races with the cron job which Zulip
installs -- the only difference being that Zulip respects the
`certbot.auto_renew` setting, and that it passes the deploy hook.
This means that occasionally nginx would not be reloaded, when the
systemd timer caught the expiration first.

Remove the custom cron job and `certbot-maybe-renew` script, and
reconfigure certbot to always reload nginx after deploying, using
certbot directory hooks.

Since `certbot.auto_renew` can't have an effect, remove the setting.
In turn, this removes the need for `--no-zulip-conf` to
`setup-certbot`.  `--deploy-hook` is similarly removed, as running
deploy hooks to restart nginx is now the default; pass
`--no-directory-hooks` in standalone mode to not attempt to reload
nginx.  The other property of `--deploy-hook`, of skipping symlinking
into place, is given its own flog.
2021-12-09 13:47:33 -08:00
..
authentication-methods.md docs: Suggest updating settings.py in OIDC instructions. 2021-11-29 15:52:52 -08:00
deployment.md puppet: Use certbot package timer, not our own cron job. 2021-12-09 13:47:33 -08:00
email-gateway.md docs: Document how to test the polling email gateway configuration. 2021-10-14 14:50:52 -07:00
email.md docs: Update all links to Django docs to point to version /3.2/. 2021-11-08 18:06:16 -08:00
expensive-migrations.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
export-and-import.md postgresql: Support replication on PostgreSQL >= 11, document. 2021-12-03 16:32:41 -08:00
giphy-gif-integration.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
index.md docs: Convert reST index pages to Markdown. 2021-08-20 06:22:42 -07:00
install-existing-server.md external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
install.md external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
maintain-secure-upgrade.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
management-commands.md docs: Update all links to Django docs to point to version /3.2/. 2021-11-08 18:06:16 -08:00
mobile-push-notifications.md puppet: Default to installing smokescreen on application frontends. 2021-11-19 15:29:28 -08:00
multiple-organizations.md docs: Apply sentence single-spacing from Prettier. 2021-09-08 12:06:24 -07:00
password-strength.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
postgresql.md install: Switch default to PostgreSQL 14. 2021-11-08 18:21:46 -08:00
requirements.md external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
security-model.md external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
settings.md external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
ssl-certificates.md puppet: Use certbot package timer, not our own cron job. 2021-12-09 13:47:33 -08:00
troubleshooting.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
upgrade-or-modify.md external links: Migrate the rest of /developer-community links. 2021-12-09 12:14:26 -08:00
upload-backends.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
video-calls.md prod docs: Update BBB configuration link. 2021-11-30 14:36:29 -08:00