From: Michael Tremer Date: Wed, 7 Aug 2024 12:16:43 +0000 (+0200) Subject: ids.cgi: Use the PID file to find suricata X-Git-Tag: v2.29-core188~10^2~167 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2682a1d17af8a1eeb309bbb04df5a97a3c7c55cb;p=ipfire-2.x.git ids.cgi: Use the PID file to find suricata The process changes it name to "Suricata-Main" which is why the previous method did not work. Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index d44ce1788b..502e2a125b 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -1007,7 +1007,7 @@ sub show_mainpage() { &Header::ServiceStatus({ $Lang::tr{'intrusion prevention system'} => { - "process" => "suricata", + "pidfile" => "/var/run/suricata.pid", }, });