slackbuilds_ponce/network/quagga/quagga.logrotate
Marin Glibic a5d362da51 network/quagga: Added (IP routing daemons)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2010-12-31 18:59:53 -06:00

17 lines
289 B
Text

/var/log/quagga/*.log {
daily
sharedscripts
missingok
compress
rotate 14
create 640 quagga quagga
postrotate
for i in zebra bgpd ripd ospfd ripngd ospf6d isisd; do
if [ -e /var/run/quagga/$i.pid ] ; then
kill -USR1 $(cat /var/run/quagga/$i.pid)
fi
done
endscript
}