Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F10360974
entrypoint.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
659 B
Referenced Files
None
Subscribers
None
entrypoint.sh
View Options
#!/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
Details
Attached
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)
Attached To
Mode
R134 rentgen-android
Attached
Detach File
Event Timeline
Log In to Comment