]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ids.cgi: Fix detection for the Suricata process
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 10 Sep 2024 09:35:18 +0000 (11:35 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 24 Sep 2024 08:43:35 +0000 (08:43 +0000)
We don't seem to have a PID file any more.

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

index db05df98a9143e35fdd55c085d6ba105006a90a7..34e6bf233ad06d8013164ea4b87f5da02a98976f 100644 (file)
@@ -1011,7 +1011,7 @@ sub show_mainpage() {
 
        &Header::ServiceStatus({
                $Lang::tr{'intrusion prevention system'} => {
-                       "pidfile" => "/var/run/suricata.pid",
+                       "process" => "Suricata-Main",
                },
        });