Elasticsearch init script for centos or rhel?


(Dominic Nicholas) #1

Hi - can someone please point me to an /etc/init.d script for elasticsearch
1.0.1 for CentOS or RHEL ?

Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/25064596-595d-4227-be37-d20f267edc5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #2

May be this? https://github.com/elasticsearch/elasticsearch/blob/master/src/deb/init.d/elasticsearch

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 14 mars 2014 à 14:19, Dominic Nicholas dominic.s.nicholas@gmail.com a écrit :

Hi - can someone please point me to an /etc/init.d script for elasticsearch 1.0.1 for CentOS or RHEL ?

Thanks

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/25064596-595d-4227-be37-d20f267edc5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/DAD71921-A32A-4DE7-BF40-9C9FAD3267AF%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.


(Dominic Nicholas) #3

Thanks.
Does anyone know of a version that uses /etc/rc.d/init.d/functions instead
of /lib/lsb, that would work on CentOS and work with elasticsearch 1.0.1 ?
Dom

On Friday, March 14, 2014 9:24:12 AM UTC-4, David Pilato wrote:

May be this?
https://github.com/elasticsearch/elasticsearch/blob/master/src/deb/init.d/elasticsearch

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 14 mars 2014 à 14:19, Dominic Nicholas <dominic.s...@gmail.com<javascript:>>
a écrit :

Hi - can someone please point me to an /etc/init.d script for
elasticsearch 1.0.1 for CentOS or RHEL ?

Thanks

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/25064596-595d-4227-be37-d20f267edc5b%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/25064596-595d-4227-be37-d20f267edc5b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bcda1322-4821-495d-a3b4-9f4c27163be5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Aesop Wolf) #4

Did you ever find a script that works on CentOS? I'm also looking for one.

On Friday, March 14, 2014 9:18:04 AM UTC-7, Dominic Nicholas wrote:

Thanks.
Does anyone know of a version that uses /etc/rc.d/init.d/functions
instead of /lib/lsb, that would work on CentOS and work with elasticsearch
1.0.1 ?
Dom

On Friday, March 14, 2014 9:24:12 AM UTC-4, David Pilato wrote:

May be this?
https://github.com/elasticsearch/elasticsearch/blob/master/src/deb/init.d/elasticsearch

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 14 mars 2014 à 14:19, Dominic Nicholas dominic.s...@gmail.com a
écrit :

Hi - can someone please point me to an /etc/init.d script for
elasticsearch 1.0.1 for CentOS or RHEL ?

Thanks

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/25064596-595d-4227-be37-d20f267edc5b%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/25064596-595d-4227-be37-d20f267edc5b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a9e8017c-a565-40a6-944b-8920a591f6d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Thomas Kuther) #5

The one from the elasticsearch CentOS rpm repository works fine here on EL6.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html
(there are also 1.0 and 1.1 repos, simply adjust the baseurl)

The source is here:
https://github.com/elasticsearch/elasticsearch/blob/master/src/rpm/init.d/elasticsearch
..but I recommend the rpm from the repo because of /etc/sysconfig and
install locations etc, much easier that way.

~Tom

Am 16.07.2014 09:12, schrieb Aesop Wolf:

Did you ever find a script that works on CentOS? I'm also looking for one.

On Friday, March 14, 2014 9:18:04 AM UTC-7, Dominic Nicholas wrote:

Thanks. 
Does anyone know of a version that
uses  /etc/rc.d/init.d/functions instead of /lib/lsb, that would
work on CentOS and work with elasticsearch 1.0.1 ?
Dom

On Friday, March 14, 2014 9:24:12 AM UTC-4, David Pilato wrote:

    May be
    this? https://github.com/elasticsearch/elasticsearch/blob/master/src/deb/init.d/elasticsearch
    <https://github.com/elasticsearch/elasticsearch/blob/master/src/deb/init.d/elasticsearch>

    --
    David ;-)
    Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs


    Le 14 mars 2014 à 14:19, Dominic Nicholas
    <dominic.s...@gmail.com> a écrit :

    Hi - can someone please point me to an /etc/init.d script for
    elasticsearch 1.0.1 for CentOS or RHEL ?

    Thanks
    -- 
    You received this message because you are subscribed to the
    Google Groups "elasticsearch" group.
    To unsubscribe from this group and stop receiving emails from
    it, send an email to elasticsearc...@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msgid/elasticsearch/25064596-595d-4227-be37-d20f267edc5b%40googlegroups.com
    <https://groups.google.com/d/msgid/elasticsearch/25064596-595d-4227-be37-d20f267edc5b%40googlegroups.com?utm_medium=email&utm_source=footer>.
    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com
mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a9e8017c-a565-40a6-944b-8920a591f6d6%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/a9e8017c-a565-40a6-944b-8920a591f6d6%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/53C62A62.3040100%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Jörg Prante) #6

I recommend the service wrapper for RHEL / Centos init script.

Jörg

On Wed, Jul 16, 2014 at 9:31 AM, Thomas Kuther gimpel0r@gmail.com wrote:

The one from the elasticsearch CentOS rpm repository works fine here on
EL6.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html
(there are also 1.0 and 1.1 repos, simply adjust the baseurl)

The source is here:
https://github.com/elasticsearch/elasticsearch/blob/master/src/rpm/init.d/elasticsearch
..but I recommend the rpm from the repo because of /etc/sysconfig and
install locations etc, much easier that way.

~Tom

Am 16.07.2014 09:12, schrieb Aesop Wolf:

Did you ever find a script that works on CentOS? I'm also looking for one.

On Friday, March 14, 2014 9:18:04 AM UTC-7, Dominic Nicholas wrote:

Thanks.
Does anyone know of a version that uses /etc/rc.d/init.d/functions
instead of /lib/lsb, that would work on CentOS and work with elasticsearch
1.0.1 ?
Dom

On Friday, March 14, 2014 9:24:12 AM UTC-4, David Pilato wrote:

May be this? https://github.com/elasticsearch/elasticsearch/
blob/master/src/deb/init.d/elasticsearch

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 14 mars 2014 à 14:19, Dominic Nicholas dominic.s...@gmail.com a
écrit :

Hi - can someone please point me to an /etc/init.d script for
elasticsearch 1.0.1 for CentOS or RHEL ?

Thanks

You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/25064596-595d-4227-be37-d20f267edc5b%
40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/25064596-595d-4227-be37-d20f267edc5b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a9e8017c-a565-40a6-944b-8920a591f6d6%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/a9e8017c-a565-40a6-944b-8920a591f6d6%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/53C62A62.3040100%40gmail.com
https://groups.google.com/d/msgid/elasticsearch/53C62A62.3040100%40gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoF%3D1W7bdSX2aCG0WFitjUO2JRBjLsSQnjFpYELwdOTAGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #7