From b2810ecd473dff452cbc0de4c5661b13693b5eb3 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 29 Oct 2019 00:28:42 +0100 Subject: [PATCH] daily autocommit --- logrotate.conf | 21 --------------------- logrotate.d/btmp | 5 ++++- logrotate.d/wtmp | 6 ++++-- motd | 6 +++--- 4 files changed, 11 insertions(+), 27 deletions(-) diff --git a/logrotate.conf b/logrotate.conf index 4eb8285..9387043 100644 --- a/logrotate.conf +++ b/logrotate.conf @@ -15,25 +15,4 @@ delaycompress # packages drop log rotation information into this directory include /etc/logrotate.d -# no packages own wtmp, or btmp -- we'll rotate them here -/var/log/wtmp { - missingok - monthly - create 0664 root utmp - rotate 12 - dateext - dateformat -%Y-%m-%d - size 4M -} - -/var/log/btmp { - missingok - monthly - create 0660 root utmp - rotate 12 - dateext - dateformat -%Y-%m-%d - size 4M -} - # system-specific logs may be configured here diff --git a/logrotate.d/btmp b/logrotate.d/btmp index 0aa1ae1..28fd118 100644 --- a/logrotate.d/btmp +++ b/logrotate.d/btmp @@ -3,5 +3,8 @@ missingok monthly create 0660 root utmp - rotate 1 + rotate 12 + dateext + dateformat -%Y-%m-%d + size 4M } diff --git a/logrotate.d/wtmp b/logrotate.d/wtmp index cc8a151..733abd1 100644 --- a/logrotate.d/wtmp +++ b/logrotate.d/wtmp @@ -3,6 +3,8 @@ missingok monthly create 0664 root utmp - minsize 1M - rotate 1 + rotate 12 + dateext + dateformat -%Y-%m-%d + size 4M } diff --git a/motd b/motd index 6415f88..04fe1c2 100644 --- a/motd +++ b/motd @@ -6,8 +6,8 @@ Debian GNU/Linux 10 (buster) |____/ \__,_|_| \__,_|_| |_| -Die Wahrheit ist zu schlau, um gefangen zu werden. - -- Wilhelm Busch +Tankwart: Guten Tag. Ihre Reifen sind ja schon abgefahren. +Ostfriese: Na dann mal nix wie hinterher. -Today is Sweetmorn, the 9th day of The Aftermath in the YOLD 3185 +Today is Boomtime, the 10th day of The Aftermath in the YOLD 3185 -- 2.39.5