From dec71886f70efa5c44c575ec0afe3f98a26d2763 Mon Sep 17 00:00:00 2001 From: whaffman Date: Fri, 11 Jul 2025 13:08:41 +0200 Subject: [PATCH] Replace tail command with a while loop to keep the container alive --- inquisitor/entrypoint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inquisitor/entrypoint.sh b/inquisitor/entrypoint.sh index 5b54f31..0e502c5 100644 --- a/inquisitor/entrypoint.sh +++ b/inquisitor/entrypoint.sh @@ -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 \ No newline at end of file +echo "Keeping container alive..." +while true; do + sleep 30 +done \ No newline at end of file