mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Don't stop Elastic Fleet for now
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user