mirror of
https://github.com/zulip/zulip.git
synced 2026-06-12 21:00:58 +08:00
Apparently, while upgrade-zulip-from-git always ensures that zulip deployment directories are owned by the Zulip user, unpack-zulip (aka the tarball code path) has them owned by root. The user ID detection logic in su_to_zulip's helper get_zulip_uid was intended to support both development environments (where the user ID might vary) and production environments. For development environments, the existing code is fine, but given this unpack-zulip permissions issue, we need to have code to fallback to 'zulip' if the detection logic detects the "zulip" user has having UID 0. |
||
|---|---|---|
| .. | ||
| lib | ||
| nagios | ||
| setup | ||
| __init__.py | ||
| get-django-setting | ||
| purge-old-deployments | ||
| README.md | ||
| restart-server | ||
| upgrade-zulip | ||
| upgrade-zulip-from-git | ||
| zulip-puppet-apply | ||
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.