~george-edison55/charms/precise/uwsgi/trunk

« back to all changes in this revision

Viewing changes to hooks/hooks.py

  • Committer: Nathan Osman
  • Date: 2014-04-07 01:46:05 UTC
  • Revision ID: admin@quickmediasolutions.com-20140407014605-l4cit1fuu00adwap
Updated README to reflect configuration options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
def wsgi_file_relation_changed():
94
94
    """Update the app configuration."""
95
95
    update_uwsgi_app(get_app_filename(), get_relation_app_config())
 
96
    update_all_uwsgi_apps()
96
97
    host.service_restart('uwsgi')
97
98
    
98
99
if __name__ == "__main__":