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. |
||
---|---|---|
.. | ||
__init__.py | ||
build-pgroonga | ||
check_rabbitmq_queue.py | ||
clean_emoji_cache.py | ||
clean_node_cache.py | ||
clean_unused_caches.py | ||
clean_venv_cache.py | ||
clean_yarn_cache.py | ||
create-production-venv | ||
email-mirror-postfix | ||
hash_reqs.py | ||
install | ||
install-node | ||
install-yarn | ||
node_cache.py | ||
puppet_cache.py | ||
pythonrc.py | ||
queue_workers.py | ||
setup-apt-repo | ||
setup-yum-repo | ||
setup_path.py | ||
setup_venv.py | ||
sharding.py | ||
unpack-zulip | ||
upgrade-zulip | ||
upgrade-zulip-from-git | ||
upgrade-zulip-stage-2 | ||
zulip_tools.py |