Page MenuHomeSealhub

entrypoint.sh
No OneTemporary

entrypoint.sh

#!/bin/bash
set -e
# node /proxy_cache_thing/dist/index.js &
# CACHE_PID=$!
# /httptoolkit-server/bin/run start -c /certificates &
# HTTPTOOLKIT_SERVER_PID=$!
bash /conf/docker-entrypoint.sh &
ANDROID_PID=$!
function check_dead() {
# if ! ps -p $CACHE_PID > /dev/null; then
# echo "[ERROR] The proxy cache died, exiting...";
# exit 1;
# fi
# if ! ps -p $HTTPTOOLKIT_SERVER_PID > /dev/null; then
# echo "[ERROR] The httptoolkit_server died, exiting...";
# exit 1;
# fi
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

File Metadata

Mime Type
text/x-shellscript
Expires
Sat, Nov 8, 10:19 (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1034453
Default Alt Text
entrypoint.sh (659 B)

Event Timeline