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 <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-08-07 14:16:43 +02:00
parent 3fb09506ae
commit 2682a1d17a

View File

@@ -1007,7 +1007,7 @@ sub show_mainpage() {
&Header::ServiceStatus({
$Lang::tr{'intrusion prevention system'} => {
"process" => "suricata",
"pidfile" => "/var/run/suricata.pid",
},
});