From: Donald Sharp Date: Thu, 25 Jun 2020 11:12:59 +0000 (-0400) Subject: redhat: Update logrotate to have knowledge of all daemons X-Git-Tag: base_7.5~248^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=1f4add997d31bda0bd80a3ebe68a6562941eee69;p=matthieu%2Ffrr.git redhat: Update logrotate to have knowledge of all daemons Upon visual inspection the redhat logrotate file was incomplete Make it complete. Signed-off-by: Donald Sharp --- diff --git a/redhat/frr.logrotate b/redhat/frr.logrotate index df7c5da54e..b488ad08dc 100644 --- a/redhat/frr.logrotate +++ b/redhat/frr.logrotate @@ -14,6 +14,14 @@ endscript } +/var/log/frr/babeld.log { + notifempty + missingok + postrotate + /bin/kill -USR1 `cat /var/run/frr/babeld.pid 2> /dev/null` 2> /dev/null || true + endscript +} + /var/log/frr/bgpd.log { notifempty missingok @@ -101,3 +109,44 @@ /bin/kill -USR1 `cat /var/run/frr/fabricd.pid 2> /dev/null` 2> /dev/null || true endscript } + +/var/log/frr/pbrd.log { + notifempty + missingok + postrotate + /bin/kill -USR1 `cat /var/run/frr/pbrd.pid 2> /dev/null` 2> /dev/null || true + endscript +} + +/var/log/frr/pimd.log { + notifempty + missingok + postrotate + /bin/kill -USR1 `cat /var/run/frr/pimd.pid 2> /dev/null` 2> /dev/null || true + endscript +} + +/var/log/frr/sharpd.log { + notifempty + missingok + postrotate + /bin/kill -USR1 `cat /var/run/frr/sharpd.pid 2> /dev/null` 2> /dev/null || true + endscript +} + +/var/log/frr/staticd.log { + notifempty + missingok + postrotate + /bin/kill -USR1 `cat /var/run/frr/static.pid 2> /dev/null` 2> /dev/null || true + endscript +} + +/var/log/frr/vrrpd.log { + notifempty + missingok + postrotate + /bin/kill -USR1 `cat /var/run/frr/vrrpd.pid 2> /dev/null` 2> /dev/null || true + endscript +} +