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':