# Any good ideas on Kibana service at Linux machine

**URL:** <https://discuss.elastic.co/t/any-good-ideas-on-kibana-service-at-linux-machine/37158>\
**Category:** Kibana\
**Created:** [December 14, 2015, 7:29pm UTC](https://discuss.elastic.co/t/any-good-ideas-on-kibana-service-at-linux-machine/37158 "2015-12-14T19:29:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shilong](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@shilong](https://discuss.elastic.co/u/shilong)\
**Post date:** [December 14, 2015, 7:29pm UTC](https://discuss.elastic.co/t/any-good-ideas-on-kibana-service-at-linux-machine/37158/1 "2015-12-14T19:29:17Z")

</div>

I think sometimes we install a new plugin and then I want to restart the Kibana server and elasticsearch service, I am wondering any ideas to create a .sh file to make it happen? Thank you !!

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [December 14, 2015, 8:26pm UTC](https://discuss.elastic.co/t/any-good-ideas-on-kibana-service-at-linux-machine/37158/2 "2015-12-14T20:26:11Z")

</div>

The normal way to restart either service would be to use the init script or whatever your Linux distribution uses. In some cases there's a `service` program that you'd use.

That said, to restart a node in an Elasticsearch cluster one would usually want to disable allocations while the node is being restarted, so in that area there's certainly room for some automation.

---

<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, 2:06pm UTC](https://discuss.elastic.co/t/any-good-ideas-on-kibana-service-at-linux-machine/37158/3 "2017-07-06T14:06:39Z")

</div>


