1. 首页
  2. 数据库
  3. 其它
  4. wait for it:纯bash脚本来测试并等待TCP主机和端口的可用性 源码

wait for it:纯bash脚本来测试并等待TCP主机和端口的可用性 源码

上传者: 2021-04-17 13:57:28上传 ZIP文件 7.58KB 热度 5次
等待它 wait-for-it.sh是一个纯bash脚本,它将等待主机和TCP端口的可用性。 对于同步相互依赖的服务(例如链接的Docker容器)的启动很有用。 由于它是纯bash脚本,因此它没有任何外部依赖性。 用法 wait-for-it.sh host:port [-s] [-t timeout] [-- command args] -h HOST | --host=HOST Host or IP under test -p PORT | --port=PORT TCP port under test Alternatively, you specify the host and port as host:port -s | --strict Only execute subc
下载地址
用户评论