From e71cea6b057e94f7222bc4331ee070af1a717951 Mon Sep 17 00:00:00 2001 From: Jason Thomas Date: Tue, 28 Feb 2012 15:39:28 -0500 Subject: [PATCH] Restart marketplace celery instance; bug 731340 --- scripts/update/commander_settings.py.dist | 1 + scripts/update/update.py | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/update/commander_settings.py.dist b/scripts/update/commander_settings.py.dist index 5f320d0a02..476bb64a68 100644 --- a/scripts/update/commander_settings.py.dist +++ b/scripts/update/commander_settings.py.dist @@ -7,6 +7,7 @@ REMOTE_APP = "/data/www/addons-dev.allizom.org/zamboni" REMOTE_UPDATE_SCRIPT = "/data/bin/update-www.sh" CELERY_SERVICE_PREFIX = "celeryd-dev" +CELERY_SERVICE_MKT_PREFIX = "celeryd-marketplace-dev" UPDATE_REF = "origin/master" UPDATE_VENDOR_REF = None # By default vendor will not update diff --git a/scripts/update/update.py b/scripts/update/update.py index 9805c7d960..359eafc7b1 100644 --- a/scripts/update/update.py +++ b/scripts/update/update.py @@ -100,6 +100,7 @@ def update_celery(ctx): ctx.remote("/sbin/service %s restart" % settings.CELERY_SERVICE_PREFIX) ctx.remote("/sbin/service %s-devhub restart" % settings.CELERY_SERVICE_PREFIX) ctx.remote("/sbin/service %s-bulk restart" % settings.CELERY_SERVICE_PREFIX) + ctx.remote("/sbin/service %s restart" % settings.CELERY_SERVICE_MKT_PREFIX) @task