mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
a5d362da51
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
17 lines
289 B
Text
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
|
|
}
|