# Elasticsearch shutdown in 0.9.0?

**URL:** <https://discuss.elastic.co/t/elasticsearch-shutdown-in-0-9-0/3157>\
**Category:** Elasticsearch\
**Created:** [July 27, 2010, 2:14pm UTC](https://discuss.elastic.co/t/elasticsearch-shutdown-in-0-9-0/3157 "2010-07-27T14:14:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Franz\_Allan\_Valencia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/franz_allan_valencia/32/3326_2.png) [@Franz\_Allan\_Valencia](https://discuss.elastic.co/u/Franz_Allan_Valencia)\
**Post date:** [July 27, 2010, 2:14pm UTC](https://discuss.elastic.co/t/elasticsearch-shutdown-in-0-9-0/3157/1 "2010-07-27T14:14:44Z")

</div>

Before, I use ./bin/service/elasticsearch start|stop. Now, there's now  
./bin/service/elasticsearch command, and ./bin/elasticsearch stop does not  
seem to stop current running elasticsearch process. So how do you properly  
shutdown an elasticsearch node right now?

Thanks,

--  
Franz Allan Valencia See | Java Software Engineer  
[franz.see@gmail.com](mailto:franz.see@gmail.com)  
LinkedIn: [http://www.linkedin.com/in/franzsee](http://www.linkedin.com/in/franzsee)  
Twitter: [http://www.twitter.com/franz\_see](http://www.twitter.com/franz_see)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [July 27, 2010, 2:52pm UTC](https://discuss.elastic.co/t/elasticsearch-shutdown-in-0-9-0/3157/2 "2010-07-27T14:52:27Z")

</div>

The service wrapper has been removed in 0.9, and is provided in its own repo  
located at: [GitHub - elastic/elasticsearch-servicewrapper: A service wrapper on top of elasticsearch](http://github.com/elasticsearch/elasticsearch-servicewrapper).

On Tue, Jul 27, 2010 at 5:14 PM, Franz Allan Valencia See \<  
[franz.see@gmail.com](mailto:franz.see@gmail.com)\> wrote:

> Before, I use ./bin/service/elasticsearch start|stop. Now, there's now  
> ./bin/service/elasticsearch command, and ./bin/elasticsearch stop does not  
> seem to stop current running elasticsearch process. So how do you properly  
> shutdown an elasticsearch node right now?
> 
> Thanks,
> 
> --  
> Franz Allan Valencia See | Java Software Engineer  
> [franz.see@gmail.com](mailto:franz.see@gmail.com)  
> LinkedIn: [http://www.linkedin.com/in/franzsee](http://www.linkedin.com/in/franzsee)  
> Twitter: [http://www.twitter.com/franz\_see](http://www.twitter.com/franz_see)

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [July 27, 2010, 2:54pm UTC](https://discuss.elastic.co/t/elasticsearch-shutdown-in-0-9-0/3157/3 "2010-07-27T14:54:34Z")

</div>

Hi,

If you are using ./bin/elasticsearch script then you can use -f option  
(./bin/elasticsearch -f) to run the server in the foreground (and then  
shutting down the server by Ctrl+C), if you start the script without -f  
option then it is started in the background which you can then stop using  
kill command. Killing the running process (not kill -9) should properly  
shutdown the node.

Regards,  
Lukas

On Tue, Jul 27, 2010 at 4:14 PM, Franz Allan Valencia See \<  
[franz.see@gmail.com](mailto:franz.see@gmail.com)\> wrote:

> Before, I use ./bin/service/elasticsearch start|stop. Now, there's now  
> ./bin/service/elasticsearch command, and ./bin/elasticsearch stop does not  
> seem to stop current running elasticsearch process. So how do you properly  
> shutdown an elasticsearch node right now?
> 
> Thanks,
> 
> --  
> Franz Allan Valencia See | Java Software Engineer  
> [franz.see@gmail.com](mailto:franz.see@gmail.com)  
> LinkedIn: [http://www.linkedin.com/in/franzsee](http://www.linkedin.com/in/franzsee)  
> Twitter: [http://www.twitter.com/franz\_see](http://www.twitter.com/franz_see)

---

<div class="post-metadata">

**Author:** ![Franz\_Allan\_Valencia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/franz_allan_valencia/32/3326_2.png) [@Franz\_Allan\_Valencia](https://discuss.elastic.co/u/Franz_Allan_Valencia)\
**Post date:** [July 27, 2010, 2:59pm UTC](https://discuss.elastic.co/t/elasticsearch-shutdown-in-0-9-0/3157/4 "2010-07-27T14:59:04Z")

</div>

Thanks Shay & Lukas.

Cheers,

--  
Franz Allan Valencia See | Java Software Engineer  
[franz.see@gmail.com](mailto:franz.see@gmail.com)  
LinkedIn: [http://www.linkedin.com/in/franzsee](http://www.linkedin.com/in/franzsee)  
Twitter: [http://www.twitter.com/franz\_see](http://www.twitter.com/franz_see)

On Tue, Jul 27, 2010 at 10:54 PM, Lukáš Vlček [lukas.vlcek@gmail.com](mailto:lukas.vlcek@gmail.com) wrote:

> Hi,
> 
> If you are using ./bin/elasticsearch script then you can use -f option  
> (./bin/elasticsearch -f) to run the server in the foreground (and then  
> shutting down the server by Ctrl+C), if you start the script without -f  
> option then it is started in the background which you can then stop using  
> kill command. Killing the running process (not kill -9) should properly  
> shutdown the node.
> 
> Regards,  
> Lukas
> 
> On Tue, Jul 27, 2010 at 4:14 PM, Franz Allan Valencia See \<  
> [franz.see@gmail.com](mailto:franz.see@gmail.com)\> wrote:
> 
> > Before, I use ./bin/service/elasticsearch start|stop. Now, there's now  
> > ./bin/service/elasticsearch command, and ./bin/elasticsearch stop does not  
> > seem to stop current running elasticsearch process. So how do you properly  
> > shutdown an elasticsearch node right now?
> > 
> > Thanks,
> > 
> > --  
> > Franz Allan Valencia See | Java Software Engineer  
> > [franz.see@gmail.com](mailto:franz.see@gmail.com)  
> > LinkedIn: [http://www.linkedin.com/in/franzsee](http://www.linkedin.com/in/franzsee)  
> > Twitter: [http://www.twitter.com/franz\_see](http://www.twitter.com/franz_see)

---

<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:** [July 6, 2017, 4:21am UTC](https://discuss.elastic.co/t/elasticsearch-shutdown-in-0-9-0/3157/5 "2017-07-06T04:21:33Z")

</div>


