From: Michael Tremer Date: Wed, 21 Aug 2024 10:24:24 +0000 (+0200) Subject: services.cgi: Search for suricata by its PID X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3fb7849c210958e94541ec5061f7b668eaa93fb9;p=people%2Fmfischer%2Fipfire-2.x.git 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 --- diff --git a/html/cgi-bin/services.cgi b/html/cgi-bin/services.cgi index 4b929c716..a3ae13c78 100644 --- a/html/cgi-bin/services.cgi +++ b/html/cgi-bin/services.cgi @@ -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