zulip/scripts/lib
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
..
__init__.py
build-pgroonga scripts: Use curl -f (--fail). 2021-07-13 16:47:49 -07:00
check_rabbitmq_queue.py python: Strip leading and trailing spaces from docstrings. 2021-05-07 22:42:39 -07:00
clean_emoji_cache.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
clean_node_cache.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
clean_unused_caches.py clean_unused_caches: Allow the main function to accept `Namespace` args. 2021-06-12 07:28:16 -07:00
clean_venv_cache.py requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
clean_yarn_cache.py python: Remove unnecessary intermediate lists. 2021-08-02 15:53:52 -07:00
create-production-venv python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
email-mirror-postfix python: Remove default "utf8" argument for encode(), decode(). 2021-08-02 15:53:52 -07:00
hash_reqs.py python: Remove default "utf8" argument for encode(), decode(). 2021-08-02 15:53:52 -07:00
install puppet: Use certbot package timer, not our own cron job. 2021-12-09 13:47:33 -08:00
install-node install-node: Upgrade Node.js from 16.13.0 to 16.13.1. 2021-12-03 14:33:53 -08:00
install-yarn install-yarn: Verify that the install location is /srv/zulip-yarn. 2021-11-03 16:49:58 -07:00
node_cache.py python: Convert "".format to Python 3.6 f-strings. 2021-08-02 15:53:52 -07:00
puppet_cache.py python: Remove default "utf8" argument for encode(), decode(). 2021-08-02 15:53:52 -07:00
pythonrc.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
queue_workers.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
setup-apt-repo lint: Fix typos found by codespell. 2021-10-19 16:51:13 -07:00
setup-yum-repo provision: Add support for Fedora 34. 2021-07-20 12:10:41 -07:00
setup_path.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
setup_venv.py setup_venv: Skip virtualenv’s automatic download of setuptools. 2021-09-23 14:29:04 -07:00
sharding.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
unpack-zulip python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
upgrade-zulip upgrade: Show fewer stacktraces. 2021-04-21 09:51:40 -07:00
upgrade-zulip-from-git upgrade-zulip-from-git: Run git fetch with --prune. 2021-09-01 05:34:57 -07:00
upgrade-zulip-stage-2 upgrade-zulip-from-git: Improve webpack failure error handling. 2021-12-09 12:26:34 -08:00
zulip_tools.py zulip_tools: Convert "".format to Python 3.6 f-strings. 2021-09-22 13:58:46 -07:00