From 10691036e035df972383bab1e97628fd6afb0b55 Mon Sep 17 00:00:00 2001 From: Josh Brower Date: Tue, 19 May 2020 10:27:46 -0400 Subject: [PATCH] Update hive_init --- salt/hive/thehive/scripts/hive_init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/hive/thehive/scripts/hive_init b/salt/hive/thehive/scripts/hive_init index 9d558a3c6..b1ef62d68 100755 --- a/salt/hive/thehive/scripts/hive_init +++ b/salt/hive/thehive/scripts/hive_init @@ -5,7 +5,7 @@ {%- set HIVEKEY = salt['pillar.get']('static:hivekey', '') %} hive_init(){ - sleep 60 + sleep 120 HIVE_IP="{{MASTERIP}}" HIVE_USER="{{HIVEUSER}}" HIVE_PASSWORD="{{HIVEPASSWORD}}" @@ -52,7 +52,7 @@ if [ -f /opt/so/state/thehive.txt ]; then exit 0 else rm -f garbage_file - while ! wget -O garbage_file {{MASTERIP}}:9500 2>/dev/null + while ! wget -O garbage_file {{MASTERIP}}:9400 2>/dev/null do echo "Waiting for Elasticsearch..." rm -f garbage_file