mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
fb18e34a07
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
18 lines
318 B
Text
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
|
|
}
|