X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/64c2c72357b0aeb78f19a44fbc67a0ca85cb18d6..23b449a94ef4ffc4746775f6a6d6b88c8a1c46c9:/cookbooks/db/templates/default/cron.erb?ds=sidebyside diff --git a/cookbooks/db/templates/default/cron.erb b/cookbooks/db/templates/default/cron.erb index 2ebeabb81..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 +10 -print0 | xargs -0r rm +# Cleanup archive directory - keep 3 weeks of WALs +find -L /store/postgresql/archive -mtime +21 -print0 | xargs -0r rm