diff --git a/tools/restart-server b/tools/restart-server index 6c869480c6..c8bd0c89fe 100755 --- a/tools/restart-server +++ b/tools/restart-server @@ -26,10 +26,11 @@ subprocess.check_call(["python", "./manage.py", "fill_memcached_caches"]) logging.info("Killing daemons") subprocess.check_call(["supervisorctl", "stop", "humbug-workers:*"]) subprocess.check_call(["supervisorctl", "stop", "humbug-django"]) -subprocess.check_call(["supervisorctl", "restart", "humbug-tornado"]) +subprocess.check_call(["supervisorctl", "stop", "humbug-tornado"]) subprocess.check_call(["ln", '-nsf', deploy_path, os.path.join(DEPLOYMENTS_DIR, "current")]) +subprocess.check_call(["supervisorctl", "start", "humbug-tornado"]) subprocess.check_call(["supervisorctl", "start", "humbug-django"]) subprocess.check_call(["supervisorctl", "start", "humbug-workers:*"])