]> Frank Brehm's Git Trees - config/helga-hetzner/etc.git/commitdiff
saving uncommitted changes in /etc prior to apt run
authorFrank Brehm <frank@brehm-online.com>
Sun, 11 Apr 2021 15:17:24 +0000 (17:17 +0200)
committerFrank Brehm <frank@brehm-online.com>
Sun, 11 Apr 2021 15:17:24 +0000 (17:17 +0200)
16 files changed:
logrotate.d/alternatives
logrotate.d/btmp
logrotate.d/chrony
logrotate.d/clamav-daemon
logrotate.d/clamav-freshclam
logrotate.d/dovecot
logrotate.d/iredapd
logrotate.d/mlmmjadmin
logrotate.d/mysql-server
logrotate.d/netdata
logrotate.d/nginx
logrotate.d/php7.3-fpm
logrotate.d/salt-common
logrotate.d/uwsgi
logrotate.d/wtmp
motd

index 2fb2913d845919f8b43a24592fcd946f917050e5..ca9f78892235a271b1eb8cff05f50eaa25dcd551 100644 (file)
@@ -5,6 +5,9 @@
        delaycompress
        missingok
        notifempty
+       minsize 1M
        create 644 root root
        olddir /var/log/.old
 }
+
+# vim: ts=4 filetype=conf noet
index 0c3cbb356e73dab15f3b1e2c6c2eef07db66c31b..46dffb5a65f6ee0dc100629d71546e86239e783d 100644 (file)
@@ -6,3 +6,5 @@
     rotate 12
     minsize 4M
 }
+
+# vim: ts=4 filetype=conf noet
index 2ccf74576bfd318454ebb8eb2fecb270215f1c38..7e987a5946163a8738ac81c2584fddd270e030d2 100644 (file)
@@ -5,8 +5,7 @@
        compress
        delaycompress
        dateext
-       size 4M
-       sharedscripts
+       minsize 4M
        # create 644
        nocreate
        sharedscripts
index 8c3c04596bb238d53734c162faf4570ba2acdcb0..0688b9adfaf546f8c1992df9af06081312cd3cdc 100644 (file)
@@ -3,7 +3,9 @@
      weekly
      compress
      delaycompress
+     minsize 4M
      create 640  clamav adm
+     olddir /var/log/clamav/.old
      postrotate
      if [ -d /run/systemd/system ]; then
          systemctl -q is-active clamav-daemon && systemctl kill --signal=SIGHUP clamav-daemon || true
@@ -11,4 +13,6 @@
          invoke-rc.d clamav-daemon reload-log > /dev/null || true
      fi
      endscript
-     }
+}
+
+# vim: ts=4 filetype=conf noet
index 9e0f2e0168440d140192bc64504260263eedef98..a557d8ee1835b741e903bb57aa0367da713663d4 100644 (file)
@@ -4,7 +4,9 @@
      compress
      delaycompress
      missingok
+     minsize 4M
      create 640  clamav adm
+     olddir /var/log/clamav/.old
      postrotate
      if [ -d /run/systemd/system ]; then
          systemctl -q is-active clamav-freshclam && systemctl kill --signal=SIGHUP clamav-freshclam || true
@@ -12,4 +14,6 @@
          invoke-rc.d clamav-freshclam reload-log > /dev/null || true
      fi
      endscript
-     }
+}
+
+# vim: ts=4 filetype=conf noet
index 6d4ba307d1f065abefdb90b0957bef4ec0ca7d2b..0229f3eb9648b10bb05e7daa936d77ea398d7179 100644 (file)
@@ -1,13 +1,16 @@
 /var/log/dovecot/*.log {
-    weekly
+    daily
     rotate 10
     missingok
     compress
     delaycompress
     notifempty
+    minsize 4M
+    olddir /var/log/dovecot/.old
     sharedscripts
-
     postrotate
-        
+        doveadm log reopen
     endscript
 }
+
+# vim: ts=4 filetype=conf noet
index 043d2b9cb254b9e631d6f55c321721bc37df89fc..257952e1b2bb8ac633a489dfac738dd4e0d9e843 100644 (file)
@@ -1,13 +1,17 @@
 /var/log/iredapd/*.log {
-    weekly
+    daily
     rotate 10
     missingok
     compress
     delaycompress
     notifempty
+    minsize 4M
+    olddir /var/log/iredapd/.old
     sharedscripts
 
     postrotate
         
     endscript
 }
+
+# vim: ts=4 filetype=conf noet
index 11ed1526ad8296b92a0844a8b7f3200449e2a558..e67167ced84253f5c31571b7d983dbc8f3a4f346 100644 (file)
@@ -5,9 +5,13 @@
     compress
     delaycompress
     notifempty
+    minsize 4M
+    olddir /var/log/mlmmjadmin/.old
     sharedscripts
 
     postrotate
         
     endscript
 }
+
+# vim: ts=4 filetype=conf noet
index 4b6635f4355a6008873a5564cd64ed4da27a0bd5..12fc6256135e94a2c7beb5b9b37f03f1d83e1708 100644 (file)
@@ -4,7 +4,7 @@
 # - The error log is obsolete, messages go to syslog now.
 /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log {
        daily
-       rotate 7
+       rotate 12
        minsize 1M
        missingok
        create 640 mysql adm
index 603a814dd658f140bab2e650182c287e430a5ce8..634b9874e0588ce3c82069c68e00730634212f69 100644 (file)
@@ -5,8 +5,12 @@
        compress
        delaycompress
        notifempty
+    minsize 4M
+    olddir /opt/netdata/var/log/netdata/.old
        sharedscripts
        postrotate
                /bin/kill -HUP `cat /opt/netdata/var/run/netdata/netdata.pid 2>/dev/null` 2>/dev/null || true
        endscript
 }
+
+# vim: ts=4 filetype=conf noet
index 423c6ad18add8a7c8d519fdbbb46fa8eeca08a29..1412199e59a68e238256d1b4e8c136a3754ebaa9 100644 (file)
@@ -6,6 +6,8 @@
        delaycompress
        notifempty
        create 0640 www-data adm
+       minsize 4M
+       olddir /var/log/nginx/.old
        sharedscripts
        prerotate
                if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
@@ -16,3 +18,5 @@
                invoke-rc.d nginx rotate >/dev/null 2>&1
        endscript
 }
+
+# vim: ts=4 filetype=conf noet
index 9164038272c966a6e36cb0ef689514bce5ca49a9..e3eda673e6d289328d317f2fc0291097e58d71b8 100644 (file)
@@ -5,9 +5,13 @@
     compress
     delaycompress
     notifempty
+    minsize 4M
+    olddir /var/log/php-fpm/.old
     sharedscripts
 
     postrotate
         /bin/kill -SIGUSR1 `cat /run/php/php-fpm.pid 2>/dev/null` 2>/dev/null || true
     endscript
 }
+
+# vim: ts=4 filetype=conf noet
index 3cd002308e832615fe3028c42763cbd788cb1ed3..1e7c7b3f557bddec40f9d0aa0fc912b71f9f73cb 100644 (file)
@@ -4,6 +4,8 @@
        rotate 7
        compress
        notifempty
+       minsize 4M
+       olddir /var/log/salt/.old
 }
 
 /var/log/salt/minion {
@@ -12,6 +14,8 @@
        rotate 7
        compress
        notifempty
+       minsize 4M
+       olddir /var/log/salt/.old
 }
 
 /var/log/salt/key {
@@ -20,4 +24,8 @@
        rotate 7
        compress
        notifempty
+       minsize 4M
+       olddir /var/log/salt/.old
 }
+
+# vim: ts=4 filetype=conf noet
index 877cfc5b19c2f9ec2e7d0b223f9642b0b8083bc3..f24f345807a76b4d3d02bd60ffae2614db13dfa2 100644 (file)
@@ -1,4 +1,4 @@
-"/var/log/uwsgi/*.log" "/var/log/uwsgi/app/*.log" {
+"/var/log/uwsgi/*.log" {
   copytruncate
   daily
   rotate 5
@@ -6,4 +6,20 @@
   delaycompress
   missingok
   notifempty
+  minsize 4M
+  olddir /var/log/uwsgi/.old
 }
+
+"/var/log/uwsgi/app/*.log" {
+  copytruncate
+  daily
+  rotate 5
+  compress
+  delaycompress
+  missingok
+  notifempty
+  minsize 4M
+  olddir /var/log/uwsgi/app/.old
+}
+
+# vim: ts=4 filetype=conf noet
index 4856099fcb3bf48dcb24b2fa378617d38d785c23..9089f4c2978459f1ce18c6257e59354c44cd8ba6 100644 (file)
@@ -7,3 +7,5 @@
     rotate 12
     minsize 4M
 }
+
+# vim: ts=4 filetype=conf noet
diff --git a/motd b/motd
index f2dd5d37b3a38540ef6c5fc74bb5cb6e318c91d1..d27aabf176a216ae98a46c4da8912910afd93b03 100644 (file)
--- a/motd
+++ b/motd
@@ -6,8 +6,9 @@ Debian GNU/Linux 10 (buster)
 |_| |_|\___|_|\__, |\__,_|
               |___/       
 
-Pazifisten sind wie Schafe, die glauben, der Wolf sei ein Vegetarier.
-               -- Yves Montand
+Wie rächt man sich an einer Frau, die einem den Ehemann wegenommen
+hat?
+Man läßt sie ihn behalten.
 
 Today is Sweetmorn, the 28th day of Discord in the YOLD 3187