# Systemctl reload elasticsearch.service or systemctl restart elasticsearch.service

**URL:** <https://discuss.elastic.co/t/systemctl-reload-elasticsearch-service-or-systemctl-restart-elasticsearch-service/325703>\
**Category:** Elasticsearch\
**Created:** [February 16, 2023, 9:04am UTC](https://discuss.elastic.co/t/systemctl-reload-elasticsearch-service-or-systemctl-restart-elasticsearch-service/325703 "2023-02-16T09:04:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![firdaussaad](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@firdaussaad](https://discuss.elastic.co/u/firdaussaad)\
**Post date:** [February 16, 2023, 9:04am UTC](https://discuss.elastic.co/t/systemctl-reload-elasticsearch-service-or-systemctl-restart-elasticsearch-service/325703/1 "2023-02-16T09:04:03Z")

</div>

Hi all,

I am currently working on a bash script. Whenever i make changes to elasticsearch.yml file, should i perform systemctl reload elascticsearch.service or systemctl restart elasticsearch.service?

Any difference between performing either both?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 19, 2023, 8:59pm UTC](https://discuss.elastic.co/t/systemctl-reload-elasticsearch-service-or-systemctl-restart-elasticsearch-service/325703/2 "2023-02-19T20:59:33Z")

</div>

Welcome to our community! 😃

You will probably need to do a restart, Elasticsearch won't dynamically reload the config file, it needs to restart to read it again.

---

<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:** [March 19, 2023, 9:00pm UTC](https://discuss.elastic.co/t/systemctl-reload-elasticsearch-service-or-systemctl-restart-elasticsearch-service/325703/3 "2023-03-19T21:00:16Z")

</div>

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