Bash scripting: ElasticSearch and Kibana init.d scripts

As a follow up to the previous post about logstash, here are a couple of related init scripts for anyone implementing the OpenSource Log Analytics setup that is explained over at divisionbyzero. These have been tested on CentOS 6.3 and are based on generic RC functions from Redhat so they will work with Redhat, CentOS, Fedora, Scientific Linux, etc.

Tagged , , , , ,

2 thoughts on “Bash scripting: ElasticSearch and Kibana init.d scripts

  1. T C says:

    Your Kibana init script calls #!/bin/sh, shouldn’t it call #!/bin/bash? Thanks for this script!

  2. admin says:

    The script specifies “/bin/sh” but it can use “/bin/bash” — there aren’t any bash specific items in the code that require that shell, so the lighter weight and more portable (bash isn’t installed on every unix so it’s common to code things in sh to ensure code can work on environments that don’t have bash) shell was chosen.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>