zulip/scripts
Alex Vandiver 476524c0c1 scripts: Add a script to stop the server.
Using `supervisorctl stop all` to stop the server is not terribly
discoverable, and may stop services which are not part of Zulip
proper.

Add an explicit tool which only stops the relevant services.  It also
more carefully controls the order in which services are stopped to
minimize lost requests, and maximally quiesce the server.

Locations which may be stopping _older_ versions of Zulip (without
this script) are left with using `supervisorctl stop all`.

Fixes #14959.
2021-04-21 10:24:08 -07:00
..
lib scripts: Fix path to additional Zulip supervisor files. 2021-04-21 10:24:08 -07:00
nagios python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
setup scripts: Add a script to stop the server. 2021-04-21 10:24:08 -07:00
README.md cleanup: Delete trailing newlines. 2019-08-06 23:29:11 -07:00
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
get-django-setting python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
purge-old-deployments python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
refresh-sharding-and-restart puppet: Generate sharding in puppet, then refresh-sharding-and-restart. 2020-09-14 16:27:15 -07:00
restart-server scripts: Say "Zulip" rather than "Application". 2021-04-21 10:24:08 -07:00
stop-server scripts: Add a script to stop the server. 2021-04-21 10:24:08 -07:00
upgrade-zulip Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
upgrade-zulip-from-git Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
zulip-puppet-apply puppet: Do not require a venv for zulip-puppet-apply. 2021-03-14 17:50:57 -07: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 https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.