# Is there a systemd units file available for logstash 1.5 on centOS 7

**URL:** <https://discuss.elastic.co/t/is-there-a-systemd-units-file-available-for-logstash-1-5-on-centos-7/32937>\
**Category:** Logstash\
**Created:** [October 25, 2015, 8:27pm UTC](https://discuss.elastic.co/t/is-there-a-systemd-units-file-available-for-logstash-1-5-on-centos-7/32937 "2015-10-25T20:27:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesNJ](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@JamesNJ](https://discuss.elastic.co/u/JamesNJ)\
**Post date:** [October 25, 2015, 8:27pm UTC](https://discuss.elastic.co/t/is-there-a-systemd-units-file-available-for-logstash-1-5-on-centos-7/32937/1 "2015-10-25T20:27:47Z")

</div>

I loaded my CentOS 7 logstash 1.5 via yum from:

```
http://packages.elasticsearch.org/logstash/1.5/centos

```

However it doesn't seem to come with a systemd units file (elasticsearch has one). There is an /etc/init.d/logstash script, but I would rather have all this managed directly via units files in systemd.

Is there a units file available somewhere? If not I could code up my own .... thanks

---

<div class="post-metadata">

**Author:** ![Joshua\_Rich](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshua_rich/32/44953_2.png) [@Joshua\_Rich](https://discuss.elastic.co/u/Joshua_Rich)\
**Post date:** [October 25, 2015, 11:49pm UTC](https://discuss.elastic.co/t/is-there-a-systemd-units-file-available-for-logstash-1-5-on-centos-7/32937/2 "2015-10-25T23:49:35Z")

</div>

There isn't currently a systemd unit file for Logstash, see this issue on GH: [https://github.com/elastic/logstash/issues/3606](https://github.com/elastic/logstash/issues/3606)

Note that systemd on CentOS can start/stop traditional sysv init scripts in an identical fashion to native systemd units. So you should be able to simply use `systemctl [start|stop] logstash` to start/stop Logstash.

---

<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, 5:25am UTC](https://discuss.elastic.co/t/is-there-a-systemd-units-file-available-for-logstash-1-5-on-centos-7/32937/3 "2017-07-06T05:25:27Z")

</div>


