services.cgi: Search for suricata by its PID

suricata renames itself and therefore we cannot find the process by its
name.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-08-21 12:24:24 +02:00
parent 234fd050d4
commit 3fb7849c21

View File

@@ -108,7 +108,7 @@ $querry[1] = 'hour' unless defined $querry[1];
# IPS
$Lang::tr{'intrusion prevention system'} => {
"process" => "suricata",
"pidfile" => "/var/run/suricata.pid",
},
# OpenVPN Roadwarrior