From 64c2c72357b0aeb78f19a44fbc67a0ca85cb18d6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 31 Oct 2014 10:19:03 +0000 Subject: [PATCH 1/1] Correct location of archived logs for expiry --- cookbooks/db/templates/default/cron.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2