summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-10-10 08:54:52 -0400
committerGitHub <noreply@github.com>2024-10-10 08:54:52 -0400
commitcc7d89a82b089f52d4499e1bf5e76bb80a047f97 (patch)
tree5e0d6863e1279aae0a5bb3546141bc3b6644b68f /redhat
parent2634ad94c649b9ec7b22165cfbfb00cfc60aa949 (diff)
parentf57a56bca0093e52e6edce8a1829520f7f4f4fbb (diff)
Merge pull request #17054 from opensourcerouting/fix/add_missing_logrotate_mgmtd
tools: Add missing mgmtd into logrotate/rsyslogd
Diffstat (limited to 'redhat')
-rw-r--r--redhat/frr.logrotate8
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