From 2182e3be13b052669d0ed42b913d8122a7fff546 Mon Sep 17 00:00:00 2001 From: Michael Kelly Date: Mon, 11 Mar 2013 11:19:09 -0400 Subject: [PATCH] Update deploy script as per bug 843216. --- bin/update/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update/deploy.py b/bin/update/deploy.py index 38395d9..81501fe 100644 --- a/bin/update/deploy.py +++ b/bin/update/deploy.py @@ -107,7 +107,7 @@ def deploy_app(ctx): def update_celery(ctx): """Update and restart Celery.""" ctx.remote(settings.REMOTE_UPDATE_SCRIPT) - ctx.remote('service %s restart' % settings.CELERY_SERVICE) + ctx.remote('supervisorctl restart %s' % settings.CELERY_SERVICE) @task