# Gracefully restart logstash after adding an additional pipeline

**URL:** <https://discuss.elastic.co/t/gracefully-restart-logstash-after-adding-an-additional-pipeline/306284>\
**Category:** Logstash\
**Created:** [June 3, 2022, 5:15am UTC](https://discuss.elastic.co/t/gracefully-restart-logstash-after-adding-an-additional-pipeline/306284 "2022-06-03T05:15:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stillfreem](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stillfreem/32/85628_2.png) [@stillfreem](https://discuss.elastic.co/u/stillfreem)\
**Post date:** [June 3, 2022, 5:15am UTC](https://discuss.elastic.co/t/gracefully-restart-logstash-after-adding-an-additional-pipeline/306284/1 "2022-06-03T05:15:33Z")

</div>

Hi All,  
in my `logstash.yml` I enabled the `config.reload.automatic: True` and doing it every 30s `config.reload.interval: 30s`.  
So now I started adding new pipelines in my `pipeline.yml`.  
Once I add a pipeline what I usually do is `kill -9 PID` in order to restart the whole logstash process. I tried with `kill -1 PID` in order to check if logstash is going to fire up my newly created pipeline but no joy. Also it seems that if I do not do anything logstash won't start/restart my new pipeline automatically no matter that auto reload is enabled?

Is there an easier way for me to tell Logstash not to restart but to only start newly created pipelines (without killing the whole process every time)?

---

<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 1, 2022, 5:16am UTC](https://discuss.elastic.co/t/gracefully-restart-logstash-after-adding-an-additional-pipeline/306284/2 "2022-07-01T05:16:14Z")

</div>

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