From b87c183adcb5d75b4ed896c1152302f9bc41e4b9 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 18 Nov 2016 06:25:03 +0100 Subject: [PATCH] daily autocommit --- logrotate.conf | 4 ++++ logrotate.d/apt | 29 +++++++++++++++++++---------- logrotate.d/aptitude | 17 ++++++++++++----- logrotate.d/dpkg | 39 +++++++++++++++++++++++++-------------- motd | 8 ++++---- 5 files changed, 64 insertions(+), 33 deletions(-) diff --git a/logrotate.conf b/logrotate.conf index b504c76..4eb8285 100644 --- a/logrotate.conf +++ b/logrotate.conf @@ -21,6 +21,8 @@ include /etc/logrotate.d monthly create 0664 root utmp rotate 12 + dateext + dateformat -%Y-%m-%d size 4M } @@ -29,6 +31,8 @@ include /etc/logrotate.d monthly create 0660 root utmp rotate 12 + dateext + dateformat -%Y-%m-%d size 4M } diff --git a/logrotate.d/apt b/logrotate.d/apt index 9a6e5d1..d22ba72 100644 --- a/logrotate.d/apt +++ b/logrotate.d/apt @@ -1,16 +1,25 @@ /var/log/apt/term.log { - rotate 12 - monthly - compress - missingok - notifempty + rotate 12 + monthly + compress + missingok + notifempty + size 1M + delaycompress + dateext + dateformat -%Y-%m-%d } /var/log/apt/history.log { - rotate 12 - monthly - compress - missingok - notifempty + rotate 12 + monthly + compress + missingok + notifempty + size 1M + delaycompress + dateext + dateformat -%Y-%m-%d } +# vim: ts=4 filetype=conf et diff --git a/logrotate.d/aptitude b/logrotate.d/aptitude index d6a0ba2..369f333 100644 --- a/logrotate.d/aptitude +++ b/logrotate.d/aptitude @@ -1,7 +1,14 @@ /var/log/aptitude { - rotate 6 - monthly - compress - missingok - notifempty + rotate 6 + monthly + compress + missingok + notifempty + size 1M + delaycompress + dateext + dateformat -%Y-%m-%d + olddir /var/log/.old } + +# vim: ts=4 filetype=conf et diff --git a/logrotate.d/dpkg b/logrotate.d/dpkg index b071698..ee0d3e4 100644 --- a/logrotate.d/dpkg +++ b/logrotate.d/dpkg @@ -1,18 +1,29 @@ /var/log/dpkg.log { - monthly - rotate 12 - compress - delaycompress - missingok - notifempty - create 644 root root + monthly + rotate 12 + compress + delaycompress + missingok + notifempty + size 1M + create 644 root root + dateext + dateformat -%Y-%m-%d + olddir /var/log/.old } + /var/log/alternatives.log { - monthly - rotate 12 - compress - delaycompress - missingok - notifempty - create 644 root root + monthly + rotate 12 + compress + delaycompress + missingok + notifempty + size 1M + create 644 root root + dateext + dateformat -%Y-%m-%d + olddir /var/log/.old } + +# vim: ts=4 filetype=conf et diff --git a/motd b/motd index 8febac0..0ccc8ef 100644 --- a/motd +++ b/motd @@ -6,9 +6,9 @@ Debian GNU/Linux 8.6 (jessie) |_| \_|___/_| -Leser, nimm an, Du seiest ein Idiot. Und nimm an, Du seiest -ein Mitglied des Kongresses. Doch ich widerhole mich. - -- Mark Twain (eigl. Samuel Langhorne Clemens) +Es gint Zeiten, wo die öffentliche Meinung die schlechteste aller +Meinungen ist. + -- Nicolas Sébastien de Chamfort -Today is Sweetmorn, the 29th day of The Aftermath in the YOLD 3182 +Today is Boomtime, the 30th day of The Aftermath in the YOLD 3182 -- 2.39.5