diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-05 14:00:37 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2017-09-05 14:10:37 +0800 |
commit | 880272dbf48594791a2d93e74f0ffab896c49cdd (patch) | |
tree | dce581edb7ac6c5df429bc7447043d586c13813d /docker/docker-entrypoint.sh | |
parent | b18660b3019f22ec49e5e9fde701e9b8d8a0691a (diff) |
Fix docker ENTRYPOINT script
Fix wait msb retry num to 5
Fix mysql listen ip address
Change-Id: Ia1492e4cb1b44e61ca7abe990828dcc72dc42ca4
Issue-Id: VFC-277
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docker/docker-entrypoint.sh')
-rwxr-xr-x | docker/docker-entrypoint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 16738ac6..3a309f7d 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -18,7 +18,7 @@ echo "MSB_ADDR=$MSB_ADDR" # Wait for MSB initialization echo "Wait for MSB initialization" -for i in {1..20}; do +for i in {1..5}; do curl -sS -m 1 $MSB_ADDR > /dev/null && break sleep $i done |