mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-02 14:43:23 +00:00
- From Andrew Schorr, fixup logrotate to use correct path to killall
and use the pid file.
This commit is contained in:
parent
c1eaa442cf
commit
5ae35f45f1
@ -2,7 +2,7 @@
|
|||||||
notifempty
|
notifempty
|
||||||
missingok
|
missingok
|
||||||
postrotate
|
postrotate
|
||||||
/usr/sbin/killall -USR1 zebra
|
/bin/kill -USR1 `cat /var/run/quagga/zebra.pid 2> /dev/null` 2> /dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -10,7 +10,7 @@
|
|||||||
notifempty
|
notifempty
|
||||||
missingok
|
missingok
|
||||||
postrotate
|
postrotate
|
||||||
/usr/sbin/killall -USR1 bgpd
|
/bin/kill -USR1 `cat /var/run/quagga/bgpd.pid 2> /dev/null` 2> /dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -18,7 +18,7 @@
|
|||||||
notifempty
|
notifempty
|
||||||
missingok
|
missingok
|
||||||
postrotate
|
postrotate
|
||||||
/usr/sbin/killall -USR1 ospfd
|
/bin/kill -USR1 `cat /var/run/quagga/ospfd.pid 2> /dev/null` 2> /dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -26,7 +26,7 @@
|
|||||||
notifempty
|
notifempty
|
||||||
missingok
|
missingok
|
||||||
postrotate
|
postrotate
|
||||||
/usr/sbin/killall -USR1 ospf6d
|
/bin/kill -USR1 `cat /var/run/quagga/ospf6d.pid 2> /dev/null` 2> /dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,7 +34,7 @@
|
|||||||
notifempty
|
notifempty
|
||||||
missingok
|
missingok
|
||||||
postrotate
|
postrotate
|
||||||
/usr/sbin/killall -USR1 ripd
|
/bin/kill -USR1 `cat /var/run/quagga/ripd.pid 2> /dev/null` 2> /dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -42,6 +42,6 @@
|
|||||||
notifempty
|
notifempty
|
||||||
missingok
|
missingok
|
||||||
postrotate
|
postrotate
|
||||||
/usr/sbin/killall -USR1 ripngd
|
/bin/kill -USR1 `cat /var/run/quagga/ripngd.pid 2> /dev/null` 2> /dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user