Give suricata time to start [ci skip]
The pgrep check is failing if Suricata doesn't start fast enough
This commit is contained in:
@@ -360,6 +360,7 @@ install_suricata() {
|
|||||||
suricata-update
|
suricata-update
|
||||||
service suricata stop
|
service suricata stop
|
||||||
service suricata start
|
service suricata start
|
||||||
|
sleep 3
|
||||||
|
|
||||||
# Verify that Suricata is running
|
# Verify that Suricata is running
|
||||||
if ! pgrep -f suricata > /dev/null; then
|
if ! pgrep -f suricata > /dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user