~abentley/charms/precise/juju-reports/use-configured-port

« back to all changes in this revision

Viewing changes to hooks/config-changed

  • Committer: j.c.sackett
  • Date: 2014-02-01 22:38:43 UTC
  • Revision ID: jcsackett@canonical.com-20140201223843-yfwln33hcbv3ni1z
Restart needs to be from code dir, not charm dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
    file('/etc/cron.d/ubuntu', 'w').write(str(t))
67
67
 
68
68
 
 
69
@with_chdir
69
70
def restart():
70
71
    subprocess.check_call(['scripts/stop'])
71
72
    subprocess.check_call(['scripts/run'])