~facundo/charms/trusty/tanuki-tarmac/add-libpq5-dependency

« back to all changes in this revision

Viewing changes to hooks/hooks.py

  • Committer: Evan Dandrea
  • Date: 2014-06-24 11:06:25 UTC
  • Revision ID: evan.dandrea@canonical.com-20140624110625-13fwejnhfssumujo
Not needed anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
    update_anacron_template(config)
118
118
    update_credentials_template(config)
119
119
 
120
 
    # Start Tarmac.
121
 
    charmhelpers.core.hookenv.log('Starting Tarmac.')
122
 
    if not charmhelpers.core.host.service_start('tarmac'):
123
 
        charmhelpers.core.host.service_restart('tarmac')
124
 
 
125
120
 
126
121
if __name__ == '__main__':
127
122
    config = charmhelpers.core.hookenv.config()