Init.d-script for debian

Hi,

I've made a init.d-script to start and stop elasticsearch on Debian:
http://gist.github.com/611351

It doesn't use the service wrapper, but starts "elasticsearch"
directly with "start-stop-daemon".
Maybe it helps someone..
Comments welcome.

Sincerely

Looks great!, thanks for sharing. Can you maybe create a wiki page for it,
so it will get more visibility?

On Tue, Oct 5, 2010 at 1:03 PM, Reto retoonline@gmail.com wrote:

Hi,

I've made a init.d-script to start and stop elasticsearch on Debian:
http://gist.github.com/611351

It doesn't use the service wrapper, but starts "elasticsearch"
directly with "start-stop-daemon".
Maybe it helps someone..
Comments welcome.

Sincerely

Ok,

So I've created a wiki page:
GitHub - elastic/elasticsearch: Free and Open, Distributed, RESTful Search Engine

But I didn't link to it from anywhere, maybe someone should review it
first.. :slight_smile:

Sincerely

On Oct 5, 1:05 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Looks great!, thanks for sharing. Can you maybe create a wiki page for it,
so it will get more visibility?

On Tue, Oct 5, 2010 at 1:03 PM, Reto retoonl...@gmail.com wrote:

Hi,

I've made a init.d-script to start and stop elasticsearch on Debian:
http://gist.github.com/611351

It doesn't use the service wrapper, but starts "elasticsearch"
directly with "start-stop-daemon".
Maybe it helps someone..
Comments welcome.

Sincerely

Hey,

Had a quick look, looks good. The only thing that I am concerned about is
apt-get of sun jre. If I am not mistaken, this intall the JVM only with the
Client HotSpot (you can check that with java -version). elasticsearch should
be run with the Server HotSpot, which I believe is the default when you
apt-get the sun-java6-jdk. Can you check this?

-shay.banon

On Tue, Oct 5, 2010 at 1:32 PM, Reto retoonline@gmail.com wrote:

Ok,

So I've created a wiki page:

GitHub - elastic/elasticsearch: Free and Open, Distributed, RESTful Search Engine

But I didn't link to it from anywhere, maybe someone should review it
first.. :slight_smile:

Sincerely

On Oct 5, 1:05 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Looks great!, thanks for sharing. Can you maybe create a wiki page for
it,
so it will get more visibility?

On Tue, Oct 5, 2010 at 1:03 PM, Reto retoonl...@gmail.com wrote:

Hi,

I've made a init.d-script to start and stop elasticsearch on Debian:
http://gist.github.com/611351

It doesn't use the service wrapper, but starts "elasticsearch"
directly with "start-stop-daemon".
Maybe it helps someone..
Comments welcome.

Sincerely

Hm,

This is sun-java6-jre on Lenny:

java -version

java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

So, I guess it should be ok..

Sincerely

On Oct 5, 1:37 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Hey,

Had a quick look, looks good. The only thing that I am concerned about is
apt-get of sun jre. If I am not mistaken, this intall the JVM only with the
Client HotSpot (you can check that with java -version). elasticsearch should
be run with the Server HotSpot, which I believe is the default when you
apt-get the sun-java6-jdk. Can you check this?

-shay.banon

On Tue, Oct 5, 2010 at 1:32 PM, Reto retoonl...@gmail.com wrote:

Ok,

So I've created a wiki page:

GitHub - elastic/elasticsearch: Free and Open, Distributed, RESTful Search Engine...

But I didn't link to it from anywhere, maybe someone should review it
first.. :slight_smile:

Sincerely

On Oct 5, 1:05 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Looks great!, thanks for sharing. Can you maybe create a wiki page for
it,
so it will get more visibility?

On Tue, Oct 5, 2010 at 1:03 PM, Reto retoonl...@gmail.com wrote:

Hi,

I've made a init.d-script to start and stop elasticsearch on Debian:
http://gist.github.com/611351

It doesn't use the service wrapper, but starts "elasticsearch"
directly with "start-stop-daemon".
Maybe it helps someone..
Comments welcome.

Sincerely

Yea, looks good. thanks for checking.

On Tue, Oct 5, 2010 at 1:57 PM, Reto retoonline@gmail.com wrote:

Hm,

This is sun-java6-jre on Lenny:

java -version

java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

So, I guess it should be ok..

Sincerely

On Oct 5, 1:37 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Hey,

Had a quick look, looks good. The only thing that I am concerned about
is
apt-get of sun jre. If I am not mistaken, this intall the JVM only with
the
Client HotSpot (you can check that with java -version). elasticsearch
should
be run with the Server HotSpot, which I believe is the default when you
apt-get the sun-java6-jdk. Can you check this?

-shay.banon

On Tue, Oct 5, 2010 at 1:32 PM, Reto retoonl...@gmail.com wrote:

Ok,

So I've created a wiki page:

GitHub - elastic/elasticsearch: Free and Open, Distributed, RESTful Search Engine.
..

But I didn't link to it from anywhere, maybe someone should review it
first.. :slight_smile:

Sincerely

On Oct 5, 1:05 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Looks great!, thanks for sharing. Can you maybe create a wiki page
for
it,
so it will get more visibility?

On Tue, Oct 5, 2010 at 1:03 PM, Reto retoonl...@gmail.com wrote:

Hi,

I've made a init.d-script to start and stop elasticsearch on
Debian:
http://gist.github.com/611351

It doesn't use the service wrapper, but starts "elasticsearch"
directly with "start-stop-daemon".
Maybe it helps someone..
Comments welcome.

Sincerely