diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-10 12:58:43 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-10 13:01:05 +0300 |
| commit | f57a56bca0093e52e6edce8a1829520f7f4f4fbb (patch) | |
| tree | 883c1d6016b4a09db0a2ca3b6b0b158005add49d /redhat | |
| parent | d30fa812aeadd2b4b15f7b47b7216c064816a3cc (diff) | |
tools: Add missing mgmtd into logrotate/rsyslogd
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
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 |
