# Where is logstash.service file?

**URL:** <https://discuss.elastic.co/t/where-is-logstash-service-file/311784>\
**Category:** Logstash\
**Created:** [August 10, 2022, 3:47am UTC](https://discuss.elastic.co/t/where-is-logstash-service-file/311784 "2022-08-10T03:47:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hellocomputer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hellocomputer/32/100718_2.png) [@hellocomputer](https://discuss.elastic.co/u/hellocomputer)\
**Post date:** [August 10, 2022, 3:47am UTC](https://discuss.elastic.co/t/where-is-logstash-service-file/311784/1 "2022-08-10T03:47:00Z")

</div>

Hello  
I'm using ubuntu20.04 and logstash 8.3.2 version.  
I want to set

> TimeoutStopSec=300

this command! but I couldn't find logstash.service file in

> /etc/systemd/system/logstash.service

in this location.

so, where is logstash.service file in logstash 8.3.2 version?

Thanku

---

<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:** [September 7, 2022, 3:47am UTC](https://discuss.elastic.co/t/where-is-logstash-service-file/311784/2 "2022-09-07T03:47:15Z")

</div>

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