]> git.puffer.fish Git - matthieu/frr.git/commit
tools: suppress unuseful warnings during restarting frr
authoranlan_cs <vic.lan@pica8.com>
Sat, 22 Jan 2022 01:33:30 +0000 (20:33 -0500)
committeranlan_cs <vic.lan@pica8.com>
Sat, 22 Jan 2022 02:23:22 +0000 (21:23 -0500)
commit19a99d89f0885664039d57b590b1838a7e49ee0a
tree20325deb3f69e86310457ad983d5e685e154869c
parent9e84443acac051c31e504d8da657c2776332edf5
tools: suppress unuseful warnings during restarting frr

Problem:
During restarting frr.service, it throws annoying warnings:
Cannot stop bgpd(and others): pid file not found.

Root Cause:
During restarting process, systemd uses "stop", and watchfrr
uses "restart".
Yes, watchfrr using "restart" is to avoid systemd failing to stop.
But it should be quiet.

Fix:
During restarting service, suppress these warnings from watchfrr.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
tools/frrcommon.sh.in