Replace tail command with a while loop to keep the container alive
This commit is contained in:
parent
0331e6414e
commit
dec71886f7
@ -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
|
||||
Loading…
Reference in New Issue
Block a user