~evarlast/charms/trusty/elasticsearch/trunk

« back to all changes in this revision

Viewing changes to hooks/stop

  • Committer: Luis Arias
  • Date: 2012-06-18 16:09:27 UTC
  • Revision ID: luis@balsamiq.com-20120618160927-dm787pv6ae74969f
If elasticsearch is exposed we will need port 9300 too which is the transport port.  I wish I could find if there are any other ports that need to be included.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
# rm /srv/webroot/server-live.txt && sleep 30
8
8
 
9
9
close-port 9200
 
10
close-port 9300
10
11
/opt/elasticsearch/bin/service/elasticsearch stop