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.

scripts: Only stop/start existing tornado processes.

Alex Vandiver939d2e27050b
diff --git a/scripts/restart-server b/scripts/restart-server
index c319926fea5..0ac13f84630 100755
--- a/scripts/restart-server
+++ b/scripts/restart-server
@@ -137,7 +137,7 @@ if has_application_server():
)
else:
logging.info("%s Tornado process", verbing)
- subprocess.check_call(["supervisorctl", action, "zulip-tornado", "zulip-tornado:*"])
+ subprocess.check_call(["supervisorctl", action, "zulip-tornado:*"])
# Finally, restart the Django uWSGI processes.
logging.info("%s django server", verbing)
diff --git a/scripts/stop-server b/scripts/stop-server
index 6de4def2dc3..03ca9a16404 100755
--- a/scripts/stop-server
+++ b/scripts/stop-server
@@ -39,7 +39,7 @@ if has_application_server():
# closer to "empty." We stop Django before Tornado so it doesn't try
# to make requests to make queues with a down'd Tornado.
services.append("zulip-django")
- services.extend(["zulip-tornado", "zulip-tornado:*"])
+ services.append("zulip-tornado:*")
services.append("zulip-workers:*")
if has_application_server(once=True):
# These used to be included in "zulip-workers:*"; since we may