From: Tom Hughes Date: Fri, 31 Oct 2014 10:19:03 +0000 (+0000) Subject: Correct location of archived logs for expiry X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/64c2c72357b0aeb78f19a44fbc67a0ca85cb18d6?hp=1490ffa1fcb026412bcc97f0a2c67fe712e57d62 Correct location of archived logs for expiry --- diff --git a/cookbooks/db/templates/default/cron.erb b/cookbooks/db/templates/default/cron.erb index ec1d2e002..2ebeabb81 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 /store/postgresql/system/archive -mtime +10 -print0 | xargs -0r rm +find -L /store/postgresql/archive -mtime +10 -print0 | xargs -0r rm