X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..9090dc57083219666a07af38d9ba2983a9b8d1f7:/cookbooks/db/templates/default/cron.erb diff --git a/cookbooks/db/templates/default/cron.erb b/cookbooks/db/templates/default/cron.erb index ec1d2e002..7ff61cff3 100644 --- a/cookbooks/db/templates/default/cron.erb +++ b/cookbooks/db/templates/default/cron.erb @@ -1,4 +1,4 @@ #!/bin/sh -# Cleanup archive directory -find /store/postgresql/system/archive -mtime +10 -print0 | xargs -0r rm +# Cleanup archive directory - keep 2 weeks of WALs +find -L /store/postgresql/archive -mtime +14 -print0 | xargs -0r rm