Sha256: 9fffbd3fbf3eccd1f56de7ae7084c7ed4c32385f5e321fbffdc8a170ae6f9436

Contents?: true

Size: 197 Bytes

Versions: 24

Compression:

Stored size: 197 Bytes

Contents

#!/bin/sh

host=$(printf "%s\n" "$1"| cut -d : -f 1)
port=$(printf "%s\n" "$1"| cut -d : -f 2)

shift 1

while ! nc -z "$host" "$port"
do
  echo "waiting for $host:$port"
  sleep 1
done

exec "$@"

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
hyrax-5.0.1 bin/db-wait.sh
hyrax-5.0.0 bin/db-wait.sh
hyrax-5.0.0.rc3 bin/db-wait.sh
hyrax-5.0.0.rc2 bin/db-wait.sh
hyrax-5.0.0.rc1 bin/db-wait.sh
hyrax-3.6.0 bin/db-wait.sh
hyrax-4.0.0 bin/db-wait.sh
hyrax-4.0.0.rc3 bin/db-wait.sh
hyrax-4.0.0.rc2 bin/db-wait.sh
hyrax-4.0.0.rc1 bin/db-wait.sh
hyrax-3.5.0 bin/db-wait.sh
hyrax-4.0.0.beta2 bin/db-wait.sh
hyrax-3.4.2 bin/db-wait.sh
hyrax-4.0.0.beta1 bin/db-wait.sh
hyrax-3.4.1 bin/db-wait.sh
hyrax-3.4.0 bin/db-wait.sh
hyrax-3.3.0 bin/db-wait.sh
hyrax-3.2.0 bin/db-wait.sh
hyrax-3.1.0 bin/db-wait.sh
hyrax-3.0.2 bin/db-wait.sh