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

https://github.com/elasticsearch/elasticsearch-servicewrapper

Jörg


On Wed, Jul 16, 2014 at 9:31 AM, Thomas Kuther <[email protected]> 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 ;-)
>>> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>>>
>>>
>>> Le 14 mars 2014 à 14:19, Dominic Nicholas <[email protected]> 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 [email protected].
>>> 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 [email protected].
> 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 [email protected].
> 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 [email protected].
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.

Reply via email to