cargo install wait-on
wait-on file /path/to/file
wait-on http GET https://example.com
wait-on tcp -i 127.0.0.1 -p 8080
This project is licensed under the MIT license and the Apache License 2.0.
Utility to wait on the availability of resources such as Files, HTTP Servers, Ports & Sockets
Home Page: https://crates.io/crates/wait-on
License: Apache License 2.0
cargo install wait-on
wait-on file /path/to/file
wait-on http GET https://example.com
wait-on tcp -i 127.0.0.1 -p 8080
This project is licensed under the MIT license and the Apache License 2.0.
Some use cases may require waiting for multiple resources of different kinds to be available
before exiting.
Theres 2 ways to approach this:
A nice format (as well as familiar) in the Rust ecosystem is TOML. Based on the assumption of
such format as input, the following spec could be of help to determine how the file is structured.
# Top-Level Definitions for the process
name = "Wain on Docker Services"
timeout = "120s"
[resources.tcp.server]
host = "127.0.0.1"
port = 7878
uri = "/healthcheck"
exit_on_http_status = 200
[resources.tcp.api_gateway]
host = "127.0.0.1"
port = 80
exit_on_http_status = 200
inteval = "2s"
[resources.file.logs]
path = "server.log"
exit_on_size = "5MB"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.