Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Dev

[PATCH 4/6] redhat: add logrotate configuration for babeld and isisd

 

 

Quagga dev RSS feed   Index | Next | Previous | View Threaded


david.ward at ll

Apr 29, 2012, 1:47 PM

Post #1 of 1 (112 views)
Permalink
[PATCH 4/6] redhat: add logrotate configuration for babeld and isisd

Signed-off-by: David Ward <david.ward [at] ll>
---
redhat/quagga.logrotate | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/redhat/quagga.logrotate b/redhat/quagga.logrotate
index 1b453d1..9756a78 100644
--- a/redhat/quagga.logrotate
+++ b/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
--
1.7.1

_______________________________________________
Quagga-dev mailing list
Quagga-dev [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-dev

Quagga dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.