]> Frank Brehm's Git Trees - config/sarah/etc.git/commitdiff
daily autocommit
authorFrank Brehm <frank@brehm-online.com>
Tue, 19 Nov 2019 05:38:44 +0000 (06:38 +0100)
committerFrank Brehm <frank@brehm-online.com>
Tue, 19 Nov 2019 05:38:44 +0000 (06:38 +0100)
cron.daily/logrotate
logrotate.d/fail2ban
motd

index 189da6a85946220db6ad7d379efdb9151a264ccc..2166db50b1c6e4e87d3918dec49fdcd21b36d568 100755 (executable)
@@ -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}
index bbe864c54734bd6849167e410e121e35698026c9..864212480b4b567a25f5144a8749889d8be07a02 100644 (file)
@@ -3,7 +3,7 @@
     weekly
     rotate 4
     dateext
-    size 4M
+    minsize 4M
     compress
 
     delaycompress
diff --git a/motd b/motd
index 26b02019a4033db7618068dfe2f2ab6b70ad8e6d..965eddfe428431c6874dfa1d25a7629782c91eb9 100644 (file)
--- 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