]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
Added Mail log file to '/etc/logrotate.conf'
authorMatthias Fischer <matthias.fischer@ipfire.org>
Sun, 22 Sep 2019 07:02:48 +0000 (09:02 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 8 Oct 2019 18:17:06 +0000 (18:17 +0000)
Fixes Bug #12155: logrotate wasn't set up to rotate this file.

For details see:
https://bugzilla.ipfire.org/show_bug.cgi?id=12155

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/etc/logrotate.conf

index f15ee92c378da1509c4deb56a4040038257cb969..0b6b485737a653e658bd45f9c0a12026f3701e39 100644 (file)
@@ -68,7 +68,7 @@ include /etc/logrotate.d
     endscript
 }
 
-/var/log/messages /var/log/bootlog /var/log/dhcpcd.log {
+/var/log/messages /var/log/bootlog /var/log/dhcpcd.log /var/log/mail {
     create 664 root syslogd
     sharedscripts
     ifempty