X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2f23300adc2b6a6730c3d8eaa1bcc45d95b208e6..38e044cfdfe1d36cfdddce66325776b7c477d6f6:/cookbooks/community/templates/default/data.yml.erb?ds=sidebyside diff --git a/cookbooks/community/templates/default/data.yml.erb b/cookbooks/community/templates/default/data.yml.erb index f18668e3d..10cc507c9 100644 --- a/cookbooks/community/templates/default/data.yml.erb +++ b/cookbooks/community/templates/default/data.yml.erb @@ -3,7 +3,7 @@ # templates: - - "templates/postgres.template.yml" + - "templates/postgres.13.template.yml" - "templates/redis.template.yml" # any extra arguments for Docker? @@ -42,3 +42,9 @@ hooks: cmd: su - postgres -c 'psql discourse' raise_on_fail: false + - file: + path: /var/spool/cron/crontabs/postgres + contents: | + # m h dom mon dow command + # MAILTO=? + 0 4 * * * /var/lib/postgresql/take-database-backup