At GoTime we investigated several ways to run elasticsearch, including
the service wrapper, but none fit our needs. We eventually decided to
use runit as a service wrapper. It's pretty simple and works well.
Here is the runit script we use:
ulimit -n 32768
exec chpst -u elasticsearch java $JAVA_OPTS $ES_JAVA_OPTS -
Delasticsearch -Des.path.home=$ES_HOME -Des-foreground=yes -cp
On Jun 30, 3:16 am, Clinton Gormley clin...@iannounce.co.uk wrote:
I am having some second thoughts regarding the inclusion of the
service wrapper in elasticsearch. I have re-read several times the
license for it, and even though it is free for open source projects
(GPL), I dislike the fact that its not fully free and prefer not to
include it in elasticsearch. Of course, end users can still use it as
its GPL, just that it won't be distributed with elasticsearch.
Yeah - I had similar feelings about it
Current plan is to remove it for 0.9, sorry about that...
It's a bit of a bummer though - it works rather well.
Is there an OS alternative? If not, what about including a 'setup'
script which would:
- download the service wrapper
- update the config so that it plays nicely with ES
- runs 'install'