Replace tail command with a while loop to keep the container alive

This commit is contained in:
whaffman 2025-07-11 13:08:41 +02:00
parent 0331e6414e
commit dec71886f7

View File

@ -53,5 +53,7 @@ echo " python3 /app/src/inquisitor.py $TARGET_IP $TARGET_MAC $GATEWAY_IP $GATEW
echo " Or use Python interactively with: python3 -i /app/src/inquisitor.py"
echo ""
# Start an interactive bash shell
tail -f /dev/null & # Keep the script running
echo "Keeping container alive..."
while true; do
sleep 30
done