wait4x
Wait for a port or service to enter a requested state, with support for TCP, HTTP, DNS, databases, and message queues. Some subcommands such as
tcpandhttphave their own usage documentation. More information: https://github.com/wait4x/wait4x.
- Wait for a TCP port to become available:
wait4x tcp
- Wait for an HTTP endpoint to return a specific status code:
wait4x http --expect-status-code
- Wait for a PostgreSQL database to become ready:
wait4x postgresql ''
- Wait for a Redis server to become available:
wait4x redis
- Wait for a service with a custom timeout and check interval:
wait4x tcp --timeout --interval
- Wait for multiple services in parallel:
wait4x tcp
- Display help for a subcommand:
wait4x --help
- Display version:
wait4x version
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
