mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52:11 +00:00
Optimize for linux
This commit is contained in:
parent
99539562f2
commit
3b94af2d5e
1 changed files with 22 additions and 22 deletions
22
docker/tpotinit/dist/entrypoint.sh
vendored
22
docker/tpotinit/dist/entrypoint.sh
vendored
|
@ -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."
|
||||||
|
|
Loading…
Reference in a new issue