From 06b60ca96b313c3b3b9044a6cbad516f84a93cf8 Mon Sep 17 00:00:00 2001 From: Wes Date: Tue, 11 Apr 2023 21:11:12 +0000 Subject: [PATCH] Don't stop Elastic Fleet for now --- salt/common/tools/sbin/so-elastic-clear | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/salt/common/tools/sbin/so-elastic-clear b/salt/common/tools/sbin/so-elastic-clear index 91dc65f46..f491fb62f 100755 --- a/salt/common/tools/sbin/so-elastic-clear +++ b/salt/common/tools/sbin/so-elastic-clear @@ -80,13 +80,13 @@ if [ -z "$DONT_STOP_SERVICES" ]; then done # Check to see if Elastic Fleet, Logstash, Elastalert are running - EF_ENABLED=$(so-status | grep elastic-fleet) + #EF_ENABLED=$(so-status | grep elastic-fleet) LS_ENABLED=$(so-status | grep logstash) EA_ENABLED=$(so-status | grep elastalert) - if [ ! -z "$EF_ENABLED" ]; then - /usr/sbin/so-elastic-fleet-stop - fi + #if [ ! -z "$EF_ENABLED" ]; then + # /usr/sbin/so-elastic-fleet-stop + #fi if [ ! -z "$LS_ENABLED" ]; then /usr/sbin/so-logstash-stop @@ -140,9 +140,9 @@ if [ -z "$DONT_STOP_SERVICES" ]; then fi #Start Elastic Fleet - if [ ! -z "$EF_ENABLED" ]; then - /usr/sbin/so-elastic-fleet-start - fi + #if [ ! -z "$EF_ENABLED" ]; then + # /usr/sbin/so-elastic-fleet-start + #fi #Start Elastalert if [ ! -z "$EA_ENABLED" ]; then