From f59a7056755a6675f3e63e6d68f2d98dcb84fd83 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 6 Apr 2017 19:26:35 +0000 Subject: [PATCH] fix mirrorlist-container logrotate to work with stats --- .../mirrorlist_proxy/files/logrotate-mirrormanager | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/roles/mirrormanager/mirrorlist_proxy/files/logrotate-mirrormanager b/roles/mirrormanager/mirrorlist_proxy/files/logrotate-mirrormanager index 174d875888..6563c6d31f 100644 --- a/roles/mirrormanager/mirrorlist_proxy/files/logrotate-mirrormanager +++ b/roles/mirrormanager/mirrorlist_proxy/files/logrotate-mirrormanager @@ -1,10 +1,12 @@ -/var/log/mirrormanager/*.log -{ +/var/log/mirrormanager/*log { + daily + rotate 30 + missingok + ifempty compress compresscmd /usr/bin/xz uncompresscmd /usr/bin/xz compressext .xz - daily - rotate 30 - missingok + dateext + copytruncate }