From 37d7588579c3f34ef2bb265a362c9d857540a77b Mon Sep 17 00:00:00 2001 From: Carsten Schmiemann Date: Sat, 12 Feb 2022 20:55:24 +0100 Subject: [PATCH] Update logrotate old files not deleted --- logrotate.d/openhab2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logrotate.d/openhab2 b/logrotate.d/openhab2 index d60af45..3ba8a3b 100644 --- a/logrotate.d/openhab2 +++ b/logrotate.d/openhab2 @@ -1,9 +1,9 @@ /var/log/openhab2/*.log.1 { hourly - rotate 2 + rotate 6 missingok - copytruncate compress notifempty + nocreate create 0640 openhab openhab }