]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commitdiff
services.cgi: Search for suricata by its PID
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Aug 2024 10:24:24 +0000 (12:24 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Aug 2024 10:24:24 +0000 (12:24 +0200)
suricata renames itself and therefore we cannot find the process by its
name.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/services.cgi

index 4b929c716485fb56d4cd2c48673f9a74475e4459..a3ae13c7853ef8846ca38580dc07dbb8b44bd09d 100644 (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