From 0b1e9693a84ef0e52e5e6320a5454aa74d2e709c Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 19 Nov 2019 06:38:44 +0100 Subject: [PATCH] daily autocommit --- cron.daily/logrotate | 11 ++++++++++- logrotate.d/fail2ban | 2 +- motd | 11 +++++++---- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/cron.daily/logrotate b/cron.daily/logrotate index 189da6a..2166db5 100755 --- a/cron.daily/logrotate +++ b/cron.daily/logrotate @@ -1,6 +1,15 @@ #!/bin/bash -test -x /usr/sbin/logrotate || exit 0 +# skip in favour of systemd timer +if [[ -d /run/systemd/system ]]; then + exit 0 +fi + +# this cronjob persists removals (but not purges) +if [[ ! -x /usr/sbin/logrotate ]]; then + exit 0 +fi + LOG=/var/log/logrotate.log echo >> ${LOG} echo "################################################" >> ${LOG} diff --git a/logrotate.d/fail2ban b/logrotate.d/fail2ban index bbe864c..8642124 100644 --- a/logrotate.d/fail2ban +++ b/logrotate.d/fail2ban @@ -3,7 +3,7 @@ weekly rotate 4 dateext - size 4M + minsize 4M compress delaycompress diff --git a/motd b/motd index 26b0201..965eddf 100644 --- a/motd +++ b/motd @@ -6,9 +6,12 @@ Debian GNU/Linux 10 (buster) |____/ \__,_|_| \__,_|_| |_| -Pünktlichkeit: - Fähigkeit abzuschätzen, um wieviel Zeit sich der andere - verspäten wird. +Große Talente sind selten, und selten ist es, dass sie sich +selbst erkennen; nun aber hat kräftiges, unbewusstes Handeln und +Sinnen so höchst erfreuliche als unerfreuliche Folgen, und in solchem +Konflikt schwindet ein bedeutendes Leben vorüber. Hievon ergeben sich +in Medwins "Unterhaltungen" so merkwürdige als traurige Beispiele. + -- Goethe, Maximen und Reflektionen, Nr. 397 -Today is Boomtime, the 30th day of The Aftermath in the YOLD 3185 +Today is Pungenday, the 31st day of The Aftermath in the YOLD 3185 -- 2.39.5