~clint-fewbar/charms/precise/haproxy/trunk

« back to all changes in this revision

Viewing changes to hooks/reverseproxy-relation-changed

  • Committer: Mark Mims
  • Date: 2011-09-07 14:11:37 UTC
  • Revision ID: mark.mims@agiledynamics.com-20110907141137-qe4j3992mqmupza7
open-port

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
# Just in case haproxy wouldn't start because of empty/bad configs before, start it now
111
111
subprocess.call(["service", "haproxy", "start"])
112
112
subprocess.call(["service", "haproxy", "reload"])
 
113
 
 
114
subprocess.call(["open-port", "80"])