# 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:** [14.Октябрь.2015 10:00:49 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:** 5

<div class="post-metadata">

**Author:** ![omfg](https://avatars.discourse-cdn.com/v4/letter/o/5e9695/32.png) [@omfg](https://meta.discourse.org/u/omfg)\
**Post date:** [14.Октябрь.2015 17:28:00 UTC](https://meta.discourse.org/t/properly-shut-down-discourse-when-host-shuts-down/34493/5 "2015-10-14T17:28:00Z")

</div>

> [@fefrei](#):
>
> I know – but this doesn’t protect against other sysadmins or unattended-upgrades

You can disable unattended upgrades (on the OS level).  
And you could insert those steps in the system shutdown script.  
But Sam said they did that inside of the docker script.

---

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