summaryrefslogtreecommitdiff
path: root/ports/redhat/zebra.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'ports/redhat/zebra.logrotate')
-rw-r--r--ports/redhat/zebra.logrotate59
1 files changed, 59 insertions, 0 deletions
diff --git a/ports/redhat/zebra.logrotate b/ports/redhat/zebra.logrotate
new file mode 100644
index 00000000..2e352ff6
--- /dev/null
+++ b/ports/redhat/zebra.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
+}