Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Remove references to supervisorctl (re)start all.

Alex Vandiverf39ee5a16cd0
diff --git a/docs/production/export-and-import.md b/docs/production/export-and-import.md
index 038c3af9740..193af3ceb8a 100644
--- a/docs/production/export-and-import.md
+++ b/docs/production/export-and-import.md
@@ -339,7 +339,7 @@ cd ~
tar -xf /path/to/export/file/zulip-export-zcmpxfm6.tar.gz
cd /home/zulip/deployments/current
./manage.py import '' ~/zulip-export-zcmpxfm6
-# supervisorctl start all # Starts the Zulip server
+# ./scripts/start-server
# ./manage.py reactivate_realm -r '' # Reactivates the organization
```
diff --git a/docs/production/troubleshooting.md b/docs/production/troubleshooting.md
index 7d805563b0d..10cab4dd51e 100644
--- a/docs/production/troubleshooting.md
+++ b/docs/production/troubleshooting.md
@@ -77,27 +77,29 @@ isn't running. If you don't see relevant logs in
`/etc/supervisor/conf.d/zulip.conf` for details. Logs only make it to
`/var/log/zulip/errors.log` once a service has started fully.
-### Restarting services with `supervisorctl restart all`
+### Restarting services with `supervisorctl restart`
After you change configuration in `/etc/zulip/settings.py` or fix a
-misconfiguration, you will often want to restart the Zulip application.
-You can restart Zulip using:
+misconfiguration, you will often want to restart the Zulip
+application. Running `scripts/restart-server` will restart all of
+Zulip's services; if you want to restart just one of them, you can use
+`supervisorctl`:
```bash
-supervisorctl restart all
+# You can use this for any service found in `supervisorctl list`
+supervisorctl restart zulip-django
```
-### Stopping services with `supervisorctl stop all`
+### Stopping services with `supervisorctl stop`
-Similarly, you can stop Zulip using:
+Similarly, while stopping all of Zulip is best done by running
+`scripts/stop-server`, you can stop individual Zulip services using:
```bash
-supervisorctl stop all
+# You can use this for any service found in `supervisorctl list`
+supervisorctl stop zulip-django
```
-If you're looking to shut down the server, it is often better to run
-`./scripts/stop-server`.
-
## Troubleshooting services
The Zulip application uses several major open source services to store
diff --git a/docs/production/upgrade-or-modify.md b/docs/production/upgrade-or-modify.md
index 04d30a288ee..1453726440b 100644
--- a/docs/production/upgrade-or-modify.md
+++ b/docs/production/upgrade-or-modify.md
@@ -174,7 +174,7 @@ after resolving an issue. The most common causes of errors are:
minimal RAM for running Zulip can run into out-of-memory issues
during the upgrade process (generally `tools/webpack` is the step
that fails). You can get past this by shutting down the Zulip
- server with `supervisorctl stop all` to free up RAM before running
+ server with `./scripts/stop-server` to free up RAM before running
the upgrade process.
Useful logs are available in a few places:
@@ -419,7 +419,7 @@ instructions for other supported platforms.
to back up the system:
```bash
- supervisorctl stop all
+ /home/zulip/deployments/current/scripts/stop-server
/home/zulip/deployments/current/manage.py backup --output=/home/zulip/release-upgrade.backup.tar.gz
```