mirror of https://github.com/zulip/zulip.git
01e8f752a8
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. |
||
---|---|---|
.. | ||
authentication-methods.md | ||
deployment.md | ||
email-gateway.md | ||
email.md | ||
expensive-migrations.md | ||
export-and-import.md | ||
giphy-gif-integration.md | ||
index.md | ||
install-existing-server.md | ||
install.md | ||
maintain-secure-upgrade.md | ||
management-commands.md | ||
mobile-push-notifications.md | ||
multiple-organizations.md | ||
password-strength.md | ||
postgresql.md | ||
requirements.md | ||
security-model.md | ||
settings.md | ||
ssl-certificates.md | ||
troubleshooting.md | ||
upgrade-or-modify.md | ||
upload-backends.md | ||
video-calls.md |