mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
convert-ids-backend-files: Wait until suricata has stopped sucessfully.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -58,6 +58,9 @@ if(&IDS::ids_is_running()) {
|
||||
# Set start_suricata to true to start it
|
||||
# at the end of the script again.
|
||||
$start_suricata = "1";
|
||||
|
||||
# Wait until suricata has stopped.
|
||||
sleep 1 while (-f $IDS::idspidfile);
|
||||
}
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user