]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/db/templates/default/cron.erb
Add a load more cookbooks to the public repository
[chef.git] / cookbooks / db / templates / default / cron.erb
diff --git a/cookbooks/db/templates/default/cron.erb b/cookbooks/db/templates/default/cron.erb
new file mode 100644 (file)
index 0000000..ec1d2e0
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Cleanup archive directory
+find /store/postgresql/system/archive -mtime +10 -print0 | xargs -0r rm