Browse Source

redhat: add logrotate configuration for babeld and isisd

Signed-off-by: David Ward <david.ward@ll.mit.edu>
Signed-off-by: David Lamparter <equinox@diac24.net>
David Ward 8 years ago
parent
commit
0bd268a523
1 changed files with 16 additions and 0 deletions
  1. 16 0
      redhat/quagga.logrotate

+ 16 - 0
redhat/quagga.logrotate

@@ -6,6 +6,14 @@
     endscript
 }
 
+/var/log/quagga/babeld.log {
+    notifempty
+    missingok
+    postrotate
+	/bin/kill -USR1 `cat /var/run/quagga/babeld.pid 2> /dev/null` 2> /dev/null || true
+    endscript
+}
+
 /var/log/quagga/bgpd.log {
     notifempty
     missingok
@@ -14,6 +22,14 @@
     endscript
 }
 
+/var/log/quagga/isisd.log {
+    notifempty
+    missingok
+    postrotate
+	/bin/kill -USR1 `cat /var/run/quagga/isisd.pid 2> /dev/null` 2> /dev/null || true
+    endscript
+}
+
 /var/log/quagga/ospfd.log {
     notifempty
     missingok