1 # You can use this template to cache DNS lookups for
4 # DISCOURSE_DB_BACKUP_HOST
6 # DISCOURSE_REDIS_SLAVE_HOST
8 # If you are using a hostname vs IP for these entries and have
9 # an internal DNS outage Discourse will stop working
11 # This template allows you to cache entry in the hosts file
13 # Note, for this to work correctly you must also install the
14 # discourse-prometheus plugin to collect stats
18 - exec: "mkdir -p /etc/service/cache_critical_dns/"
19 - exec: "cp /var/www/discourse/script/cache_critical_dns /etc/service/cache_critical_dns/run"