annotate routeflapper.logrotate @ 8:69a5dcf953df default tip

routeflapper runs as root to read the log files
author Carl Byington <carl@five-ten-sg.com>
date Thu, 04 Sep 2014 08:57:50 -0700
parents 3c0db610c641
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3c0db610c641 add bgpd config file and proper logrotate config
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 /var/log/bgp {
3c0db610c641 add bgpd config file and proper logrotate config
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 daily
3c0db610c641 add bgpd config file and proper logrotate config
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3 notifempty
3c0db610c641 add bgpd config file and proper logrotate config
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 missingok
3c0db610c641 add bgpd config file and proper logrotate config
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 postrotate
3c0db610c641 add bgpd config file and proper logrotate config
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 /bin/kill -USR1 `cat /var/run/quagga/bgpd.pid 2> /dev/null` 2> /dev/null || true
3c0db610c641 add bgpd config file and proper logrotate config
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 endscript
3c0db610c641 add bgpd config file and proper logrotate config
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 }