projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d2d368
)
Reduce WAL expiry to 14 days
author
Tom Hughes
<tom@compton.nu>
Mon, 2 Oct 2017 19:36:08 +0000
(20:36 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 2 Oct 2017 19:36:08 +0000
(20:36 +0100)
cookbooks/db/templates/default/cron.erb
patch
|
blob
|
history
diff --git
a/cookbooks/db/templates/default/cron.erb
b/cookbooks/db/templates/default/cron.erb
index 5f9b51c0006175301b7aabc0335a4c648ce05160..7ff61cff349550ff48938836344310d071b2d7dc 100644
(file)
--- 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