Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Add a warning about restarting individual services.
Mateusz Manderab6cce494a8f9
diff --git a/docs/production/troubleshooting.md b/docs/production/troubleshooting.mdindex 08152df0918..1688290a08b 100644--- a/docs/production/troubleshooting.md+++ b/docs/production/troubleshooting.md@@ -107,8 +107,13 @@ isn't running. If you don't see relevant logs inAfter you change configuration in `/etc/zulip/settings.py` or fix amisconfiguration, 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+application. In order to restart all of Zulip's services, you can use:++```bash+/home/zulip/deployments/current/scripts/restart-server+```++If you want to restart just one of them, you can use`supervisorctl`:```bash@@ -116,6 +121,15 @@ Zulip's services; if you want to restart just one of them, you can usesupervisorctl restart zulip-django```+:::{warning}+A configuration file might be used by multiple services, so generally+`scripts/restart-server` is the correct tool to use for reloading+purposes. Only use `supervisorctl restart` for an individual service+if you're confident that this specific service requires restarting.+In particular, it is not the right tool for applying settings changes+in `/etc/zulip/settings.py` and may cause inconsistent behavior.+:::+### Stopping services with `supervisorctl stop`Similarly, while stopping all of Zulip is best done by running