From: Frank Brehm Date: Sun, 17 Nov 2019 09:35:09 +0000 (+0100) Subject: daily autocommit X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=dcc01be8ae9242696b0308a75afa5b43c7342a58;p=config%2Fns1%2Fetc.git daily autocommit --- diff --git a/logrotate.d/alternatives b/logrotate.d/alternatives index 41c8a9c..e93576d 100644 --- a/logrotate.d/alternatives +++ b/logrotate.d/alternatives @@ -1,9 +1,15 @@ /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/logrotate.d/dpkg b/logrotate.d/dpkg index ee0d3e4..20b2b6e 100644 --- a/logrotate.d/dpkg +++ b/logrotate.d/dpkg @@ -12,18 +12,4 @@ olddir /var/log/.old } -/var/log/alternatives.log { - 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/systemd/system/timers.target.wants/logrotate.timer b/systemd/system/timers.target.wants/logrotate.timer deleted file mode 120000 index 90f5322..0000000 --- a/systemd/system/timers.target.wants/logrotate.timer +++ /dev/null @@ -1 +0,0 @@ -/lib/systemd/system/logrotate.timer \ No newline at end of file