# Is there a SysV init script in /etc/init.d/ for logstash?

**URL:** <https://discuss.elastic.co/t/is-there-a-sysv-init-script-in-etc-init-d-for-logstash/92759>\
**Category:** Logstash\
**Created:** [July 12, 2017, 6:17am UTC](https://discuss.elastic.co/t/is-there-a-sysv-init-script-in-etc-init-d-for-logstash/92759 "2017-07-12T06:17:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [July 12, 2017, 6:17am UTC](https://discuss.elastic.co/t/is-there-a-sysv-init-script-in-etc-init-d-for-logstash/92759/1 "2017-07-12T06:17:24Z")

</div>

logstash version: 5.4.1  
OS version: CentOS6.6

Refer to the official guide, it seems that there is a auto-generated configuration file at `/etc/init.d/logstash`.

I installed logstash with RMP package, but there is no a init script in `/etc/init.d/`.

```auto
# bin/system-install
Successfully created system startup script for Logstash

```

I followed the official guide here:

[https://www.elastic.co/guide/en/logstash/5.5/config-setting-files.html#\_settings\_files](https://www.elastic.co/guide/en/logstash/5.5/config-setting-files.html#_settings_files)

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [July 12, 2017, 12:56pm UTC](https://discuss.elastic.co/t/is-there-a-sysv-init-script-in-etc-init-d-for-logstash/92759/2 "2017-07-12T12:56:36Z")

</div>

This is explained [here](https://discuss.elastic.co/t/logstash-run-as-a-background-service/76138/8?u=theuntergeek).

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [July 12, 2017, 5:37pm UTC](https://discuss.elastic.co/t/is-there-a-sysv-init-script-in-etc-init-d-for-logstash/92759/3 "2017-07-12T17:37:51Z")

</div>

resolved. thanx a lot !😄

---

<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 9, 2017, 5:37pm UTC](https://discuss.elastic.co/t/is-there-a-sysv-init-script-in-etc-init-d-for-logstash/92759/4 "2017-08-09T17:37:55Z")

</div>

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