mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
ids.cgi: Call suricatactrl for restarting the IDS
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -314,8 +314,8 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'update'}) {
|
||||
# Store settings into settings file.
|
||||
&General::writehash("$IDS::settingsdir/settings", \%cgiparams);
|
||||
|
||||
# Call snortctrl to restart snort
|
||||
system('/usr/local/bin/snortctrl restart >/dev/null');
|
||||
# Call suricatactrl to restart the IDS
|
||||
system('/usr/local/bin/suricatactrl restart >/dev/null');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user