]> git.openstreetmap.org Git - chef.git/blob - cookbooks/db/templates/default/cron.erb
Reduce WAL expiry to 14 days
[chef.git] / cookbooks / db / templates / default / cron.erb
1 #!/bin/sh
2
3 # Cleanup archive directory - keep 2 weeks of WALs
4 find -L /store/postgresql/archive -mtime +14 -print0 | xargs -0r rm