Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Fix bug 1120619 - Restart all celery components during deploy. Refs b…
Browse files Browse the repository at this point in the history
…ug 1122085.
  • Loading branch information
jezdez committed Jan 30, 2015
1 parent fbee3dd commit 7c6716f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/chief_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def prime_app(ctx):
@hostgroups(settings.CELERY_HOSTGROUP, remote_kwargs={'ssh_key': settings.SSH_KEY})
def update_celery(ctx):
ctx.remote(settings.REMOTE_UPDATE_SCRIPT)
ctx.remote('/usr/bin/supervisorctl restart %s' % settings.CELERY_SERVICE)
ctx.remote('/usr/bin/supervisorctl mrestart celery*')

# As far as I can tell, Chief does not pass the username to commander,
# so I can't give a username here: (
Expand Down

0 comments on commit 7c6716f

Please sign in to comment.