]> git.openstreetmap.org Git - chef.git/commitdiff
Correct location of archived logs for expiry
authorTom Hughes <tom@compton.nu>
Fri, 31 Oct 2014 10:19:03 +0000 (10:19 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 31 Oct 2014 10:19:03 +0000 (10:19 +0000)
cookbooks/db/templates/default/cron.erb

index ec1d2e00254499e3a4fc4c4fe0dc43052458674f..2ebeabb812cb3d9413d8342d6db51909780d9b3c 100644 (file)
@@ -1,4 +1,4 @@
 #!/bin/sh
 
 # Cleanup archive directory
-find /store/postgresql/system/archive -mtime +10 -print0 | xargs -0r rm
+find -L /store/postgresql/archive -mtime +10 -print0 | xargs -0r rm