From 9b2aa657be31d46ecf2d382c8a693ddca8f30a0f Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Thu, 21 Nov 2013 13:50:56 -0500 Subject: [PATCH] Revert "restart-server: Use 'all' instead of specifying the supervisor jobs to operate on explicitly" This reverts commit acef4c0027b77053497ef6e9f7aa4b61703205c3. Despite the lower total downtime, this caused more user-facing downtime. (imported from commit 5cce032bb20abe83853a65ee72bf0bb28af403cc) --- scripts/restart-server | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restart-server b/scripts/restart-server index dd0bbb69a1..acc17a359e 100755 --- a/scripts/restart-server +++ b/scripts/restart-server @@ -27,9 +27,9 @@ subprocess.check_call(["python", "./manage.py", "fill_memcached_caches"]) # Restart the FastCGI and related processes via supervisorctl. logging.info("Killing daemons") -subprocess.check_call(["supervisorctl", "stop", "all"]) +subprocess.check_call(["supervisorctl", "stop", "zulip-workers:* zulip-django zulip-tornado"]) subprocess.check_call(["ln", '-nsf', deploy_path, os.path.join(DEPLOYMENTS_DIR, "current")]) -subprocess.check_call(["supervisorctl", "start", "all"]) +subprocess.check_call(["supervisorctl", "start", "zulip-tornado zulip-django zulip-workers:*"]) using_sso = subprocess.check_output(['./bin/get-django-setting', 'USING_SSO']) if using_sso.strip() == 'True':