Permalink
Browse files

Need to be able to specify the process for proxy updating.

  • Loading branch information...
1 parent 56d338a commit e99c03bf65cacde0cdab3ab87f56f6091bd5f31d @oremj oremj committed Jul 27, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 bin/update/commander_settings.py-dist
  2. +1 −1 bin/update/deploy.py
@@ -10,5 +10,7 @@ WEB_HOSTGROUP = ''
CELERY_HOSTGROUP = ''
CELERY_SERVICE = ''
+GUNICORN = 'gunicorn-payments'
+
UPDATE_REF = 'origin/master'
SSH_KEY = None
@@ -68,7 +68,7 @@ def checkin_changes(ctx):
def deploy_app(ctx):
"""Call the remote update script to push changes to webheads."""
ctx.remote(settings.REMOTE_UPDATE_SCRIPT)
- ctx.remote('service gunicorn-payments reload')
+ ctx.remote('service %s reload' % settings.GUNICORN)
@task

0 comments on commit e99c03b

Please sign in to comment.