]> git.proxmox.com Git - mirror_frr.git/blobdiff - redhat/frr.logrotate
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / redhat / frr.logrotate
index f43a86efe769bd419aa1b454220ef857c21015c8..df7c5da54e5896262ecfcb2601ca4bb23d5b9887 100644 (file)
@@ -1,3 +1,11 @@
+/var/log/frr/frr.log {
+    notifempty
+    missingok
+    postrotate
+       /bin/kill -HUP `cat /var/run/*syslog*.pid 2> /dev/null` 2> /dev/null || true
+    endscript
+}
+
 /var/log/frr/zebra.log {
     notifempty
     missingok
     endscript
 }
 
+/var/log/frr/bfdd.log {
+    notifempty
+    missingok
+    postrotate
+    /bin/kill -USR1 `cat /var/run/frr/bfdd.pid 2> /dev/null` 2> /dev/null || true
+    endscript
+}
+
+/var/log/frr/fabricd.log {
+    notifempty
+    missingok
+    postrotate
+        /bin/kill -USR1 `cat /var/run/frr/fabricd.pid 2> /dev/null` 2> /dev/null || true
+    endscript
+}