From 78bd9248d2e5664c9bceba8809e3fe6330ab6958 Mon Sep 17 00:00:00 2001 From: Burris Grindfuzz Date: Thu, 11 Jun 2020 07:59:09 +0000 Subject: [PATCH] Correct name of rotated tgz files Added extension .tgz to logrotate.conf, so instead of: bistreams.tgz.1 logrotate create bistreams.1.tgz, also removed executable bit from compressed files. --- etc/logrotate/logrotate.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/logrotate/logrotate.conf b/etc/logrotate/logrotate.conf index 9f42e53c..63617083 100644 --- a/etc/logrotate/logrotate.conf +++ b/etc/logrotate/logrotate.conf @@ -32,7 +32,7 @@ { su tpot tpot copytruncate - create 770 tpot tpot + create 660 tpot tpot daily missingok notifempty @@ -51,9 +51,10 @@ { su tpot tpot copytruncate - create 770 tpot tpot + create 660 tpot tpot daily missingok notifempty rotate 30 + addextension .tgz }