diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-10 12:58:43 +0300 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-10-10 12:56:01 +0000 |
| commit | edb5bff96e99cf4409d424f2665c4ffaf5265d97 (patch) | |
| tree | ff9079c4df0f3b8c17427ea1b1d322387a7503af /redhat | |
| parent | 697b6572406b4a445bede60362cc65c8e6e72516 (diff) | |
tools: Add missing mgmtd into logrotate/rsyslogd
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit f57a56bca0093e52e6edce8a1829520f7f4f4fbb)
Diffstat (limited to 'redhat')
| -rw-r--r-- | redhat/frr.logrotate | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/redhat/frr.logrotate b/redhat/frr.logrotate index 31061e3ae0..1224a332b4 100644 --- a/redhat/frr.logrotate +++ b/redhat/frr.logrotate @@ -78,6 +78,14 @@ endscript } +/var/log/frr/mgmtd.log { + notifempty + missingok + postrotate + /bin/kill -USR1 `cat /var/run/frr/mgmtd.pid 2> /dev/null` 2> /dev/null || true + endscript +} + /var/log/frr/nhrpd.log { notifempty missingok |
