]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
suricata: Reload the reporter process, too
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 9 Aug 2025 14:17:09 +0000 (15:17 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Sep 2025 17:42:01 +0000 (18:42 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/suricata

index d885150db6ec39395bce11f19ecdb4009256afac..1565f795ab699226a9da19f24b39b3b97ce67ded 100644 (file)
@@ -233,6 +233,10 @@ case "$1" in
                # of the ruleset.
                kill -USR2 $(pidof suricata)
 
+               # Reload the reporter
+               PIDFILE="/var/run/suricata/reporter.pid" \
+                       reloadproc /usr/bin/suricata-reporter
+
                # Flush the firewall chain.
                flush_fw_chain