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.

restart-server: Start services in opposite order from stop.

Alex Vandiverdc58dec2312b
diff --git a/scripts/restart-server b/scripts/restart-server
index 3bafb4fa592..7d88811aa5d 100755
--- a/scripts/restart-server
+++ b/scripts/restart-server
@@ -78,7 +78,7 @@ logging.info("Stopping server core")
subprocess.check_call(["supervisorctl", "stop", *core_server_services])
logging.info("Starting server core")
-subprocess.check_call(["supervisorctl", "start", *core_server_services])
+subprocess.check_call(["supervisorctl", "start", *reversed(core_server_services)])
logging.info("Starting workers")
subprocess.check_call(["supervisorctl", "start", "zulip-workers:*"])