debian: Add missing daemons to logrotation knowledge

Update missing daemons to rotate as well.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2020-06-25 07:13:50 -04:00
parent 1f4add997d
commit f57a88f37c

View File

@ -16,7 +16,7 @@
# between file and syslog, rsyslogd might still have file # between file and syslog, rsyslogd might still have file
# open, as well as the daemons, so always signal the daemons. # open, as well as the daemons, so always signal the daemons.
# It's safe, a NOP if (only) syslog is being used. # It's safe, a NOP if (only) syslog is being used.
for i in babeld bgpd eigrpd isisd ldpd nhrpd ospf6d ospfd \ for i in babeld bgpd eigrpd isisd ldpd nhrpd ospf6d ospfd sharpd \
pimd ripd ripngd zebra pbrd staticd bfdd fabricd vrrpd; do pimd ripd ripngd zebra pbrd staticd bfdd fabricd vrrpd; do
if [ -e /var/run/frr/$i.pid ] ; then if [ -e /var/run/frr/$i.pid ] ; then
pids="$pids $(cat /var/run/frr/$i.pid)" pids="$pids $(cat /var/run/frr/$i.pid)"