]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/community/templates/default/data.yml.erb
Bump actions/cache from 2.1.7 to 3
[chef.git] / cookbooks / community / templates / default / data.yml.erb
index f18668e3d9ddfee4d018093ef04c048e4e82d203..2aa4de023fe453fbb95978ca79ec6443452135ea 100644 (file)
@@ -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