projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid service overhead about checking netstat ports
[anna.git]
/
example
/
diameter
/
launcher
/
resources
/
rest_api
/
ct
/
ct.sh
diff --git
a/example/diameter/launcher/resources/rest_api/ct/ct.sh
b/example/diameter/launcher/resources/rest_api/ct/ct.sh
index
4d485df
..
1ae0224
100755
(executable)
--- a/
example/diameter/launcher/resources/rest_api/ct/ct.sh
+++ b/
example/diameter/launcher/resources/rest_api/ct/ct.sh
@@
-47,6
+47,7
@@
do
docker exec -it ${C_NAME} bash -c "netstat -p $(pgrep ADML) --numeric-ports | grep -w 3868 | grep -w ESTABLISHED" >/dev/null
[ $? -eq 0 ] && break
echo -n .
+ sleep 1
done
echo "Ready !"