ids.cgi: Call suricatactrl for restarting the IDS

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2018-08-03 13:51:59 +02:00
parent 06b569a442
commit ab114c276b

View File

@@ -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');
}
}