summaryrefslogtreecommitdiff
path: root/redhat/quagga.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/quagga.logrotate')
-rw-r--r--redhat/quagga.logrotate59
1 files changed, 59 insertions, 0 deletions
diff --git a/redhat/quagga.logrotate b/redhat/quagga.logrotate
new file mode 100644
index 00000000..2e352ff6
--- /dev/null
+++ b/redhat/quagga.logrotate
@@ -0,0 +1,59 @@
+/var/log/zebra/zebra.log {
+ notifempty
+ missingok
+ nocompress
+ weekly
+ postrotate
+ /usr/sbin/killall -USR1 zebra
+ endscript
+}
+
+/var/log/zebra/bgpd.log {
+ notifempty
+ missingok
+ nocompress
+ weekly
+ postrotate
+ /usr/sbin/killall -USR1 bgpd
+ endscript
+}
+
+/var/log/zebra/ospfd.log {
+ notifempty
+ missingok
+ nocompress
+ weekly
+ postrotate
+ /usr/sbin/killall -USR1 ospfd
+ endscript
+}
+
+/var/log/zebra/ospf6d.log {
+ notifempty
+ missingok
+ nocompress
+ weekly
+ postrotate
+ /usr/sbin/killall -USR1 ospf6d
+ endscript
+}
+
+/var/log/zebra/ripd.log {
+ notifempty
+ missingok
+ nocompress
+ weekly
+ postrotate
+ /usr/sbin/killall -USR1 ripd
+ endscript
+}
+
+/var/log/zebra/ripngd.log {
+ notifempty
+ missingok
+ nocompress
+ weekly
+ postrotate
+ /usr/sbin/killall -USR1 ripngd
+ endscript
+}