diff options
author | Marin Glibic <zhilla2@gmail.com> | 2010-12-29 19:19:03 -0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-31 18:59:53 -0600 |
commit | a5d362da5127036f0608e79a36b1411fcae5b9ac (patch) | |
tree | b08a78a90966306f5a466d8ec0218b1663db2156 /network/quagga/quagga.logrotate | |
parent | ae22224689c79cddd3702167b9e98784d7104704 (diff) | |
download | slackbuilds-a5d362da5127036f0608e79a36b1411fcae5b9ac.tar.gz |
network/quagga: Added (IP routing daemons)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/quagga/quagga.logrotate')
-rw-r--r-- | network/quagga/quagga.logrotate | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/network/quagga/quagga.logrotate b/network/quagga/quagga.logrotate new file mode 100644 index 0000000000..9a213de3ca --- /dev/null +++ b/network/quagga/quagga.logrotate @@ -0,0 +1,17 @@ +/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 +} |