Example #1
0
def remote_install_app(build_id='LATEST'):
    web.remote_install_app(CLUSTER_DIR, SITE_NAME, build_id)
    sudo('supervisorctl restart gunicorn-solitude-payments')
Example #2
0
def remote_install_app(build_id='LATEST'):
    web.remote_install_app(CLUSTER_DIR, SITE_NAME, build_id)
    sudo('kill -HUP $(supervisorctl pid gunicorn-solitude-payments)')