summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-04-19 13:55:42 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-04-19 18:13:19 +0200
commit03ea2db724cd5b76f53d9a8fb2042c4f3f132be9 (patch)
tree8cb9b39701de415aa788cc01d5770af630980cd1 /redhat
parentMerge pull request #10908 from donaldsharp/proto_only_error (diff)
downloadfrr-03ea2db724cd5b76f53d9a8fb2042c4f3f132be9.tar.xz
frr-03ea2db724cd5b76f53d9a8fb2042c4f3f132be9.zip
packaging: Add pathd to logrotate
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
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 22b2332b7..04ae96b65 100644
--- a/redhat/frr.logrotate
+++ b/redhat/frr.logrotate
@@ -110,6 +110,14 @@
endscript
}
+/var/log/frr/pathd.log {
+ notifempty
+ missingok
+ postrotate
+ /bin/kill -USR1 `cat /var/run/frr/pathd.pid 2> /dev/null` 2> /dev/null || true
+ endscript
+}
+
/var/log/frr/pbrd.log {
notifempty
missingok