X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d281b784e2dcd675ef945d20ff8ea318ee909b59..18424e9038b5f06d815167da8f0c10bed5d5d211:/cookbooks/db/templates/default/cron.erb diff --git a/cookbooks/db/templates/default/cron.erb b/cookbooks/db/templates/default/cron.erb index e17add1c1..5f9b51c00 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 -L /store/postgresql/archive -mtime +40 -print0 | xargs -0r rm +# Cleanup archive directory - keep 3 weeks of WALs +find -L /store/postgresql/archive -mtime +21 -print0 | xargs -0r rm