Optimize for linux

This commit is contained in:
Marco Ochse 2024-05-06 19:22:33 +02:00 committed by GitHub
parent 99539562f2
commit 3b94af2d5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -360,15 +360,15 @@ if [ "${TPOT_OSTYPE}" = "linux" ];
sleep 60 sleep 60
echo "# Dropping UDP connection tables to improve visibility of true source IPs." echo "# Dropping UDP connection tables to improve visibility of true source IPs."
/usr/sbin/conntrack -D -p udp /usr/sbin/conntrack -D -p udp
else
# Starting container health monitoring
echo
figlet "Starting ..."
figlet "Autoheal"
echo "# Now monitoring healthcheck enabled containers to automatically restart them when unhealthy."
echo
/opt/tpot/autoheal.sh autoheal &
PID=$!
wait $PID
echo "# T-Pot Init and Autoheal were stopped. Exiting."
fi fi
# Starting container health monitoring
echo
figlet "Starting ..."
figlet "Autoheal"
echo "# Now monitoring healthcheck enabled containers to automatically restart them when unhealthy."
echo
/opt/tpot/autoheal.sh autoheal &
PID=$!
wait $PID
echo "# T-Pot Init and Autoheal were stopped. Exiting."