diff options
author | 2018-11-05 11:11:15 -0600 | |
---|---|---|
committer | 2018-11-05 11:11:31 -0600 | |
commit | 7a1817bf3cf3c40c6c33f673ddc46c3f115cc3bc (patch) | |
tree | 6ac32d6f1b8800133c709cf22efcf509b6f07ee7 /auth/auth-service/src/main/resources/docker-compose/wait_for_host_port.sh | |
parent | ca788dc542830b054f0a46df2dfd774fc318872c (diff) |
Missing Licenses
Issue-ID: AAF-607
Change-Id: Ibd6c50104af69c4164d53aa0f8709520020ce7a5
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-service/src/main/resources/docker-compose/wait_for_host_port.sh')
-rw-r--r-- | auth/auth-service/src/main/resources/docker-compose/wait_for_host_port.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/auth/auth-service/src/main/resources/docker-compose/wait_for_host_port.sh b/auth/auth-service/src/main/resources/docker-compose/wait_for_host_port.sh deleted file mode 100644 index e4e4bf9c..00000000 --- a/auth/auth-service/src/main/resources/docker-compose/wait_for_host_port.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -host="$1" -port="$2" -shift -shift -cmd="$@" - -until echo > /dev/tcp/${host}/${port} ; do - >&2 echo "${host}:${port} is unavailable - sleeping" - sleep 1 -done - ->&2 echo "${host}:${port} is up - executing command" -exec $cmd |