Don't stop Elastic Fleet for now

This commit is contained in:
Wes
2023-04-11 21:11:12 +00:00
parent 4d64a9777e
commit 06b60ca96b

View File

@@ -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