rentgendroid/android/entrypoint.sh
Andrii Dokhniak cab43f63ce mitmproxy
2025-08-30 18:27:49 +02:00

19 lines
270 B
Bash
Executable File

#!/bin/bash
set -e
bash /conf/docker-entrypoint.sh &
ANDROID_PID=$!
function check_dead() {
if ! ps -p $ANDROID_PID > /dev/null; then
echo "[ERROR] The android emulator died, exiting...";
exit 1;
fi
}
# Exit on error
while true; do
check_dead;
sleep 1;
done