slackbuilds_ponce/network/quagga/quagga.logrotate
Marin Glibic fb18e34a07 network/quagga: Updated for version 1.2.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2017-11-24 21:21:49 +00:00

18 lines
318 B
Text

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