wait4x

Wait for a port or service to enter the requested state

brewmacoslinux
Try with needOr install directly
Source

About

Wait for a port or a service to enter the requested state

Commands

wait4x

Examples

Wait for a service to be reachable on localhost port 8080$ wait4x http://localhost:8080
Wait for TCP connection on specific host and port with timeout$ wait4x tcp://example.com:3306 --timeout 30s
Wait for a Unix socket to become available$ wait4x unix:///var/run/docker.sock