zulip/docs/development
Alex Vandiver ddca8a7f9a 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.

(cherry picked from commit 01e8f752a8)
2021-12-09 13:48:20 -08:00
..
authentication.md docs: Format Markdown with Prettier. 2021-09-10 16:02:22 -07:00
index.rst docs: Document the test-install tooling. 2021-04-27 00:55:50 -07:00
overview.md docs: Apply bullet style changes from Prettier. 2021-09-10 16:02:22 -07:00
remote.md puppet: Use certbot package timer, not our own cron job. 2021-12-09 13:48:20 -08:00
request-remote.md docs: Migrate from recommonmark to MyST-Parser. 2021-09-10 16:12:52 -07:00
setup-advanced.md docs: Migrate from recommonmark to MyST-Parser. 2021-09-10 16:12:52 -07:00
setup-vagrant.md docs: Migrate from recommonmark to MyST-Parser. 2021-09-10 16:12:52 -07:00
test-install.md docs: Format Markdown with Prettier. 2021-09-10 16:02:22 -07:00
using.md docs: Format Markdown with Prettier. 2021-09-10 16:02:22 -07:00