]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/db/templates/default/cron.erb
Update piwik to 3.1.0
[chef.git] / cookbooks / db / templates / default / cron.erb
index 2ebeabb812cb3d9413d8342d6db51909780d9b3c..5f9b51c0006175301b7aabc0335a4c648ce05160 100644 (file)
@@ -1,4 +1,4 @@
 #!/bin/sh
 
-# Cleanup archive directory
-find -L /store/postgresql/archive -mtime +10 -print0 | xargs -0r rm
+# Cleanup archive directory - keep 3 weeks of WALs
+find -L /store/postgresql/archive -mtime +21 -print0 | xargs -0r rm