~tanuki/charms/trusty/logstash/trunk

« back to all changes in this revision

Viewing changes to hooks/config-changed

  • Committer: Celso Providelo
  • Date: 2015-08-14 13:13:19 UTC
  • mfrom: (50.1.1 ls-restart-config-changes)
  • Revision ID: celso.providelo@canonical.com-20150814131319-ut80el951z4q10ib
Restarting services on configuration changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    # extracted
46
46
    # subprocess.check_output(shlex.split('hooks/install'))
47
47
 
 
48
    # Restart the service when configuration has changed.
 
49
    import start
 
50
    start.start()
 
51
 
48
52
 
49
53
def copy_config():
50
54
    files = os.listdir('templates')