# /usr/share/elasticsearch/bin/elasticsearch.in.sh ES 6.x?

**URL:** https://discuss.elastic.co/t/usr-share-elasticsearch-bin-elasticsearch-in-sh-es-6-x/171178
**Category:** Elasticsearch
**Created:** [March 6, 2019, 6:37pm UTC](https://discuss.elastic.co/t/usr-share-elasticsearch-bin-elasticsearch-in-sh-es-6-x/171178 "2019-03-06T18:37:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jw-ovgd](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jw-ovgd](https://discuss.elastic.co/u/jw-ovgd)
#### Post date: [March 6, 2019, 6:37pm UTC](https://discuss.elastic.co/t/usr-share-elasticsearch-bin-elasticsearch-in-sh-es-6-x/171178/1 "2019-03-06T18:37:40Z")

</div>

I am new to ES and have inherited work to upgrade from ES 5.5 to ES 6.5  
What happened to /usr/share/elasticsearch/bin/elasticsearch.in.sh in the ES 6.5 rpm?  
I see it present in ES 5.5 rpm.

As part of the build process for the product I work on we have a line in our rpm spec file %post:  
echo 'ES\_JAVA\_OPTS="$ES\_JAVA\_OPTS -Xms2g -Xmx2g"' \>\> /usr/share/elasticsearch/bin/elasticsearch.in.sh

What was this file responsible for and where did it go? I don't think this is a breaking change for what I'm doing (not listed in breaking changes) but I would like to know 🙂

---

<div class="post-metadata">

### Author: ![Yogesh\_Gaikwad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yogesh_gaikwad/32/27025_2.png) [@Yogesh\_Gaikwad](https://discuss.elastic.co/u/Yogesh_Gaikwad)
#### Post date: [March 7, 2019, 12:16am UTC](https://discuss.elastic.co/t/usr-share-elasticsearch-bin-elasticsearch-in-sh-es-6-x/171178/2 "2019-03-07T00:16:21Z")

</div>

> [@jw-ovgd](#):
>
> elasticsearch.in.sh

Hope this helps: [Information regarding elasticsearch.in.sh file](https://discuss.elastic.co/t/information-regarding-elasticsearch-in-sh-file/876)

Regards,  
Yogesh Gaikwad

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 4, 2019, 12:16am UTC](https://discuss.elastic.co/t/usr-share-elasticsearch-bin-elasticsearch-in-sh-es-6-x/171178/3 "2019-04-04T00:16:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
