Skip to content

Commit

Permalink
Restart gunicorn worker on update.
Browse files Browse the repository at this point in the history
  • Loading branch information
oremj committed May 14, 2012
1 parent 5338a28 commit c0da0a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/update/update.py
Expand Up @@ -67,6 +67,7 @@ def install_cron(ctx):
def deploy_app(ctx):
ctx.remote(settings.REMOTE_UPDATE_SCRIPT)
ctx.remote("/bin/touch %s" % settings.REMOTE_WSGI)
ctx.remote("/sbin/service gunicorn-builder-addons graceful")


@hostgroups(settings.CELERY_HOSTGROUP, remote_kwargs={'ssh_key': settings.SSH_KEY})
Expand Down

0 comments on commit c0da0a8

Please sign in to comment.