ids.cgi: Stop suricata when the rulest source has been changed
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 5 Feb 2019 11:43:49 +0000 (12:43 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 5 Feb 2019 11:43:49 +0000 (12:43 +0100)
commit97870bf29cd93669beef30b876e21f2fed5d6405
treece13123486d23a8dd2f16c90b14ea3dc77330481
parent5709768b0bab2b860911fcad66da8e0aec5c4eaa
ids.cgi: Stop suricata when the rulest source has been changed

If the ruleset source has been changed, it has to be configured again.
This happens because of different rule categories, filenames rule ID's etc.

In case suricata currently is running it has to be stopped and after the configuration
has been done by the user, it can be launched again.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi