zulip/scripts
Feorlen 6ff78ca0e8 Set umask 022 before starting prod upgrade.
Follow-on from #2373/ PR https://github.com/zulip/zulip/pull/4316, to set an
appropriate umask also when upgrading so files have appropriate permissions.

I've tested this by starting from a clean install, deleting /srv/* so new
files are downloaded, and then doing an upgrade. It worked starting with both
a current version from master and an older release installed with a less
restrictive umask and then the umask changed.

Fixes #2373.
2017-04-19 10:28:06 -07:00
..
lib Set umask 022 before starting prod upgrade. 2017-04-19 10:28:06 -07:00
nagios missed-emails-sending: Move email sending to separate queue worker. 2017-03-07 20:08:40 -08:00
setup settings: Add support for ZULIP_ORG secrets. 2017-04-18 23:00:10 -07:00
README.md docs: Add README.md files for scripts/ and tools/. 2017-01-17 11:01:27 -08:00
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
get-django-setting Activate virtualenv in production Python code. 2016-06-27 19:55:35 -07:00
purge-old-deployments zulip_tools.py: Move zulip_tools.py in scripts/lib. 2016-08-15 16:44:50 -07:00
restart-server Django 1.10: Use uWSGI. 2016-12-13 21:40:43 -08:00
upgrade-zulip Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
upgrade-zulip-from-git mypy: Remove now-unused type: ignores. 2017-02-18 17:01:01 -08:00
zulip-puppet-apply zulip-puppet-apply: Fix running it as ./zulip-puppet-apply. 2017-02-27 15:25:14 -08:00

README.md

This directory contains scripts that:

  • Generally do not require access to Django or the database (those are "management commands"), and thus are suitable to run operationally.

  • Are useful for managing a production deployment of Zulip (many are also used in a Zulip development environment, though development-only scripts live in tools/).

For more details, see http://zulip.readthedocs.io/en/latest/directory-structure.html.