summaryrefslogtreecommitdiffstats
path: root/auth/auth-service/src/main/resources/docker-compose/wait_for_host_port.sh
diff options
context:
space:
mode:
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.sh17
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