# Is it possible to restart Unicorn without downtime?

**URL:** <https://meta.discourse.org/t/is-it-possible-to-restart-unicorn-without-downtime/65155>\
**Category:** Self-hosting\
**Created:** [June 27, 2017, 12:37am UTC](https://meta.discourse.org/t/is-it-possible-to-restart-unicorn-without-downtime/65155 "2017-06-27T00:37:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [June 27, 2017, 12:45am UTC](https://meta.discourse.org/t/is-it-possible-to-restart-unicorn-without-downtime/65155/2 "2017-06-27T00:45:35Z")

</div>

> [@patrickbajao](#):
>
> Is it still safe to do that for Discourse?

Sort of, we do:

> <https://github.com/discourse/docker_manager/blob/main/lib/docker_manager/upgrader.rb#L121>

So you would send the USR2 to the unicorn launcher that will forward the signal for you.

> <https://github.com/discourse/docker_manager/blob/main/lib/docker_manager/upgrader.rb#L28>

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-restart-unicorn-without-downtime/65155)._
