diff options
author | paul <paul> | 2004-10-19 14:41:56 +0000 |
---|---|---|
committer | paul <paul> | 2004-10-19 14:41:56 +0000 |
commit | 00b65ae1f8e2d8f3f54b54b0a84ff55d33aff077 (patch) | |
tree | 45690d3507d527bdb0fe977643af8576a9b2a846 /redhat | |
parent | 1bba3970d4e3244c029d54b5019c4f8ccc83bbdb (diff) | |
download | quagga-00b65ae1f8e2d8f3f54b54b0a84ff55d33aff077.tar.bz2 quagga-00b65ae1f8e2d8f3f54b54b0a84ff55d33aff077.tar.xz |
- From Andrew Schorr, fixup logrotate to use correct path to killall
and use the pid file.
Diffstat (limited to 'redhat')
-rw-r--r-- | redhat/quagga.logrotate | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/redhat/quagga.logrotate b/redhat/quagga.logrotate index a6494381..1b453d16 100644 --- a/redhat/quagga.logrotate +++ b/redhat/quagga.logrotate @@ -2,7 +2,7 @@ notifempty missingok postrotate - /usr/sbin/killall -USR1 zebra + /bin/kill -USR1 `cat /var/run/quagga/zebra.pid 2> /dev/null` 2> /dev/null || true endscript } @@ -10,7 +10,7 @@ notifempty missingok postrotate - /usr/sbin/killall -USR1 bgpd + /bin/kill -USR1 `cat /var/run/quagga/bgpd.pid 2> /dev/null` 2> /dev/null || true endscript } @@ -18,7 +18,7 @@ notifempty missingok postrotate - /usr/sbin/killall -USR1 ospfd + /bin/kill -USR1 `cat /var/run/quagga/ospfd.pid 2> /dev/null` 2> /dev/null || true endscript } @@ -26,7 +26,7 @@ notifempty missingok postrotate - /usr/sbin/killall -USR1 ospf6d + /bin/kill -USR1 `cat /var/run/quagga/ospf6d.pid 2> /dev/null` 2> /dev/null || true endscript } @@ -34,7 +34,7 @@ notifempty missingok postrotate - /usr/sbin/killall -USR1 ripd + /bin/kill -USR1 `cat /var/run/quagga/ripd.pid 2> /dev/null` 2> /dev/null || true endscript } @@ -42,6 +42,6 @@ notifempty missingok postrotate - /usr/sbin/killall -USR1 ripngd + /bin/kill -USR1 `cat /var/run/quagga/ripngd.pid 2> /dev/null` 2> /dev/null || true endscript } |