From 2d44f240704cc177c28ff7ec849c9bfb17f9b140 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 20 Nov 2018 10:41:00 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- logrotate.d/alternatives | 1 + logrotate.d/apt | 2 ++ logrotate.d/dpkg | 1 + 3 files changed, 4 insertions(+) diff --git a/logrotate.d/alternatives b/logrotate.d/alternatives index 41c8a9c..92f19c9 100644 --- a/logrotate.d/alternatives +++ b/logrotate.d/alternatives @@ -1,5 +1,6 @@ /var/log/alternatives.log { monthly + minsize 4M rotate 12 compress delaycompress diff --git a/logrotate.d/apt b/logrotate.d/apt index 9a6e5d1..61d66bf 100644 --- a/logrotate.d/apt +++ b/logrotate.d/apt @@ -1,5 +1,6 @@ /var/log/apt/term.log { rotate 12 + minsize 4M monthly compress missingok @@ -8,6 +9,7 @@ /var/log/apt/history.log { rotate 12 + minsize 4M monthly compress missingok diff --git a/logrotate.d/dpkg b/logrotate.d/dpkg index cf36f08..5675cd3 100644 --- a/logrotate.d/dpkg +++ b/logrotate.d/dpkg @@ -1,6 +1,7 @@ /var/log/dpkg.log { monthly rotate 12 + minsize 4M compress delaycompress missingok -- 2.39.5