# Running logstash using systemd with specific settings

**URL:** <https://discuss.elastic.co/t/running-logstash-using-systemd-with-specific-settings/241184>\
**Category:** Logstash\
**Created:** [July 14, 2020, 7:29pm UTC](https://discuss.elastic.co/t/running-logstash-using-systemd-with-specific-settings/241184 "2020-07-14T19:29:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaplan.dani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaplan.dani/32/64113_2.png) [@kaplan.dani](https://discuss.elastic.co/u/kaplan.dani)\
**Post date:** [July 14, 2020, 7:29pm UTC](https://discuss.elastic.co/t/running-logstash-using-systemd-with-specific-settings/241184/1 "2020-07-14T19:29:14Z")

</div>

I run logstash with this command line and it works correctly:  
bin/logstash -f my\_pipeline.conf --config.reload.automatic --path.settings /etc/logstash

when I run it using systemctl (on debian) it will not work, I guess it doesn't use the configuraion I made .  
how do I make the systemd version use my own configuration and settings like the command line ?

---

<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 11, 2020, 7:29pm UTC](https://discuss.elastic.co/t/running-logstash-using-systemd-with-specific-settings/241184/2 "2020-08-11T19:29:15Z")

</div>

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