Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
upgrade: Call start-server rather than restart-server if we stopped it.
Alex Vandiver6db454b2528f
diff --git a/scripts/lib/upgrade-zulip-stage-2 b/scripts/lib/upgrade-zulip-stage-2index ac470e17288..de34c3c823d 100755--- a/scripts/lib/upgrade-zulip-stage-2+++ b/scripts/lib/upgrade-zulip-stage-2@@ -307,7 +307,11 @@ if migrations_needed:subprocess.check_call(["./manage.py", "create_realm_internal_bots"], preexec_fn=su_to_zulip)logging.info("Restarting Zulip...")-subprocess.check_output(["./scripts/restart-server", "--fill-cache"], preexec_fn=su_to_zulip)+if IS_SERVER_UP:+ subprocess.check_output(["./scripts/restart-server", "--fill-cache"], preexec_fn=su_to_zulip)+else:+ subprocess.check_output(["./scripts/start-server", "--fill-cache"], preexec_fn=su_to_zulip)+logging.info("Upgrade complete!")if args.audit_fts_indexes: