summaryrefslogtreecommitdiff
path: root/init/redhat/zebra.logrotate
diff options
context:
space:
mode:
authorpaul <paul>2002-12-13 20:15:29 +0000
committerpaul <paul>2002-12-13 20:15:29 +0000
commit718e3744195351130f4ce7dbe0613f4b3e23df93 (patch)
treebac2ad39971cd43f31241ef123bd4e470f695ac9 /init/redhat/zebra.logrotate
Initial revision
Diffstat (limited to 'init/redhat/zebra.logrotate')
-rw-r--r--init/redhat/zebra.logrotate47
1 files changed, 47 insertions, 0 deletions
diff --git a/init/redhat/zebra.logrotate b/init/redhat/zebra.logrotate
new file mode 100644
index 00000000..0d13baf7
--- /dev/null
+++ b/init/redhat/zebra.logrotate
@@ -0,0 +1,47 @@
+/var/log/zebra/zebra.log {
+ notifempty
+ missingok
+ postrotate
+ /usr/bin/killall -USR1 zebra
+ endscript
+}
+
+/var/log/zebra/bgpd.log {
+ notifempty
+ missingok
+ postrotate
+ /usr/bin/killall -USR1 bgpd
+ endscript
+}
+
+/var/log/zebra/ospf.log {
+ notifempty
+ missingok
+ postrotate
+ /usr/bin/killall -USR1 ospfd
+ endscript
+}
+
+/var/log/zebra/ospf6.log {
+ notifempty
+ missingok
+ postrotate
+ /usr/bin/killall -USR1 ospf6d
+ endscript
+}
+
+/var/log/zebra/rip.log {
+ notifempty
+ missingok
+ postrotate
+ /usr/bin/killall -USR1 ripd
+ endscript
+}
+
+/var/log/zebra/ripng.log {
+ notifempty
+ missingok
+ postrotate
+ /usr/bin/killall -USR1 ripng
+ endscript
+}