# Looking for systemd startup script examples for Elasticsearch 7.7.0, etc... CentOS 7

**URL:** <https://discuss.elastic.co/t/looking-for-systemd-startup-script-examples-for-elasticsearch-7-7-0-etc-centos-7/243405>\
**Category:** Elasticsearch\
**Created:** [July 31, 2020, 9:43pm UTC](https://discuss.elastic.co/t/looking-for-systemd-startup-script-examples-for-elasticsearch-7-7-0-etc-centos-7/243405 "2020-07-31T21:43:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![uf0undzach](https://avatars.discourse-cdn.com/v4/letter/u/53a042/32.png) [@uf0undzach](https://discuss.elastic.co/u/uf0undzach)\
**Post date:** [July 31, 2020, 9:43pm UTC](https://discuss.elastic.co/t/looking-for-systemd-startup-script-examples-for-elasticsearch-7-7-0-etc-centos-7/243405/1 "2020-07-31T21:43:37Z")

</div>

Relatively new to ELK...

I inherited this ELK server from another admin, and it appears that it was not installed via conventional means, as there are no x.services files in /systemd/system, etc.. The ELK processes work fine when run manually, but we'd like them to start @ boot since the environment goes through frequent power cycles.

Looking for some examples of systemd startup scripts that I can use as a reference for Elasticsearch, Logstash, and Kibana. Does anyone have a similar installation in CentOS 7 for ELK 7.7.0?

Appreciate the help in advance.

---

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [August 2, 2020, 1:30am UTC](https://discuss.elastic.co/t/looking-for-systemd-startup-script-examples-for-elasticsearch-7-7-0-etc-centos-7/243405/2 "2020-08-02T01:30:36Z")

</div>

Make a virtual box Centos VM, install 7.7.0 there using the rpm packages, steal the systemd stuff 🙂

---

<div class="post-metadata">

**Author:** ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)\
**Post date:** [August 2, 2020, 7:12am UTC](https://discuss.elastic.co/t/looking-for-systemd-startup-script-examples-for-elasticsearch-7-7-0-etc-centos-7/243405/3 "2020-08-02T07:12:06Z")

</div>

Exactly, install & copy. Can also do even faster on docker with centos7 image (i.e. run Centos 7 image, install ELK via RPM and borrow scripts).

BUT, if you were not installed by rpm, things may be in weird places - maybe was installed by tar/jar file or something, so you may have to tune things - plus v7 ES has its own Java included, but you may lack that and have to adjust, etc. In that sense, a V6 install might be more useful.

Good luck.

---

<div class="post-metadata">

**Author:** ![uf0undzach](https://avatars.discourse-cdn.com/v4/letter/u/53a042/32.png) [@uf0undzach](https://discuss.elastic.co/u/uf0undzach)\
**Post date:** [August 3, 2020, 5:08pm UTC](https://discuss.elastic.co/t/looking-for-systemd-startup-script-examples-for-elasticsearch-7-7-0-etc-centos-7/243405/4 "2020-08-03T17:08:42Z")

</div>

This seems straight forward enough. I will do that and return here to let you guys know how it went.

Thanks a bunch for the replies!

---

<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:** [August 31, 2020, 5:08pm UTC](https://discuss.elastic.co/t/looking-for-systemd-startup-script-examples-for-elasticsearch-7-7-0-etc-centos-7/243405/5 "2020-08-31T17:08:58Z")

</div>

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