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