mirror of
https://github.com/zulip/zulip.git
synced 2025-10-26 17:43:58 +00:00
Currently, the output from `start-server` if the server is already running is potentially confusing, since it says ERROR several times: ``` $ ./scripts/start-server 2023-04-04 15:35:12,737 start-server: Running syntax and database checks System check identified no issues (15 silenced). 2023-04-04 15:35:16,211 start-server: Starting Tornado process on port 9800 zulip-tornado:zulip-tornado-port-9800: ERROR (already started) 2023-04-04 15:35:16,528 start-server: Starting Tornado process on port 9801 zulip-tornado:zulip-tornado-port-9801: ERROR (already started) 2023-04-04 15:35:16,844 start-server: Starting django server zulip-django: ERROR (already started) 2023-04-04 15:35:17,605 start-server: Starting workers zulip_deliver_scheduled_emails: ERROR (already started) zulip_deliver_scheduled_messages: ERROR (already started) process-fts-updates: ERROR (already started) 2023-04-04 15:35:18,923 start-server: Done! ``` Catch the simple common case where all of the services are already running, and output a clearer success message: ``` $ ./scripts/start-server 2023-04-04 15:39:52,367 start-server: Running syntax and database checks System check identified no issues (15 silenced). 2023-04-04 15:39:55,857 start-server: Zulip is already started; nothing to do! ```
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.