# Waar post install hook in te stellen

**URL:** <https://meta.discourse.org/t/where-to-set-post-install-hook/183965>\
**Category:** Support\
**Created:** [21 maart 2021 om 20:27 UTC](https://meta.discourse.org/t/where-to-set-post-install-hook/183965 "2021-03-21T20:27:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Hosler](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daniel_hosler/32/141503_2.png) [@Daniel\_Hosler](https://meta.discourse.org/u/Daniel_Hosler)\
**Post date:** [21 maart 2021 om 20:27 UTC](https://meta.discourse.org/t/where-to-set-post-install-hook/183965/1 "2021-03-21T20:27:17Z")

</div>

Hi,  
I’m running discourse in an LXC container which requires me to run

```plaintext
chmod -R go+w /var/www/discourse/tmp/cache

```

in order to get rails to start correctly. Is there any place I can put this command so it executes after every rebuild/install?
