# Properly shut down Discourse when host shuts down

**URL:** <https://meta.discourse.org/t/properly-shut-down-discourse-when-host-shuts-down/34493>\
**Category:** Product Support\
**Created:** [2015 年 10 月 14 日午前 10:00 UTC](https://meta.discourse.org/t/properly-shut-down-discourse-when-host-shuts-down/34493 "2015-10-14T10:00:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [2015 年 10 月 14 日午前 10:40 UTC](https://meta.discourse.org/t/properly-shut-down-discourse-when-host-shuts-down/34493/4 "2015-10-14T10:40:55Z")

</div>

> [@omfg](#):
>
> (sudo ./shtudown-docker.sh isn’t that hard)

I know – but this doesn’t protect against other sysadmins or `unattended-upgrades` 😄

> [@sam](#):
>
> Shutdown is safe, we have a shutdown sequence that docker triggers when stopped

This is great news. Thanks!

---

_[View the full topic](https://meta.discourse.org/t/properly-shut-down-discourse-when-host-shuts-down/34493)._
