Wait Service is a pure rust program to test and wait on the availability of a service.

Overview

Wait Service

CI

Wait Service is a pure rust program to test and wait on the availability of a service.

Help

EXAMPLES:
wait-service tcp -h localhost -p 27017 -t 5 -- npm start   # Wait for localhost:27017 (max 5 seconds) and then run `npm start`
wait-service uds -p /var/run/app.sock -t 0 -- npm start    # Wait for /var/run/app.sock (forever) and then run `npm start`

USAGE:
    wait-service [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    help    Prints this message or the help of the given subcommand(s)
    tcp     Test and wait on the availability of a TCP service
    uds     Test and wait on the availability of a UDS service [aliases: unix]

License

MIT

You might also like...
Svix - A pure Rust and fully tested KSUID implementation

Svix - Webhooks as a service Svix-KSUID (Rust) A pure Rust and fully tested KSUID implementation This library is fully compatible with Segment's KSUID

Rust client for AWS Infinidash service.
Rust client for AWS Infinidash service.

AWS Infinidash - Fully featured Rust client Fully featured AWS Infinidash client for Rust applications. You can use the AWS Infinidash client to make

Rust program to monitor Windows 10 Registry keys for changes or modifications.

RegMon This Rust program monitors changes to multiple registry keys in Windows 10 and writes the changes to a text file. It also periodically sends a

A service for helping your cat find other cats
A service for helping your cat find other cats

Check back later! Discord Self-hosting This is an open-source service! Feel free to host you own private instances. All we ask is you credit us and li

Provides utility functions to perform a graceful shutdown on an tokio-rs based service

tokio-graceful-shutdown IMPORTANT: This crate is in an early stage and not ready for production. This crate provides utility functions to perform a gr

Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.

Linkerd 🎈 Welcome to Linkerd! 👋 Linkerd is an ultralight, security-first service mesh for Kubernetes. Linkerd adds critical security, observability,

Dr-dotnet - 🩺 One-click diagnosis of your dotnet applications. Works both locally or remotely as a web service

Dr-dotnet - 🩺 One-click diagnosis of your dotnet applications. Works both locally or remotely as a web service. Based on the lowest level dotnet profiling APIs and using the rust language 🦀 for a minimal runtime penalty.

The Dutch secret service (AIVD) has a yearly puzzle challenge around Christmas
The Dutch secret service (AIVD) has a yearly puzzle challenge around Christmas

AIVD kerstpuzzel 2021 18 solver The Dutch secret service (AIVD) has a yearly puzzle challenge around Christmas, called the 'AIVD kerstpuzzel'. This re

mutex-as-a-service

MAAS (Mutex-As-A-Service) I honestly don't know why I made this, but here it is. Here are some docs: Api docs Api docs were generated with this: https

Comments
  • Can not work properly in macOS 12 (ARM)

    Can not work properly in macOS 12 (ARM)

    ➜  wait-service git:(master) ✗ rustc --version
    rustc 1.57.0-beta.1 (d4647278c 2021-10-18)
    ➜  wait-service git:(master) ✗ cargo --version
    cargo 1.57.0-beta (c7957a74b 2021-10-11)
    ➜  wait-service git:(master) ✗ cargo run tcp wait-service --host blog.pan93.com --port 443
       Compiling libc v0.2.105
       Compiling proc-macro2 v1.0.30
       Compiling unicode-xid v0.2.2
       Compiling log v0.4.14
       Compiling syn v1.0.80
       Compiling autocfg v1.0.1
       Compiling cfg-if v1.0.0
       Compiling unicode-width v0.1.9
       Compiling ansi_term v0.11.0
       Compiling strsim v0.8.0
       Compiling vec_map v0.8.2
       Compiling pin-project-lite v0.2.7
       Compiling bitflags v1.3.2
       Compiling concat-with v0.2.6
       Compiling textwrap v0.11.0
       Compiling tokio v1.12.0
       Compiling quote v1.0.10
       Compiling mio v0.7.14
       Compiling atty v0.2.14
       Compiling terminal_size v0.1.17
       Compiling clap v2.33.3
       Compiling tokio-macros v1.5.0
       Compiling wait-service v0.1.0 (/Users/pan93412/wait-service)
        Finished dev [unoptimized + debuginfo] target(s) in 2.70s
         Running `target/debug/wait-service tcp wait-service --host blog.pan93.com --port 443`
    Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
    
    opened by pan93412 6
Owner
Magic Len (Ron Li)
https://magiclen.org/
Magic Len (Ron Li)
A cross platform tool which instantly notifies about COVID vaccine availability.

?? CoWIN Notifier ?? A cross-platform tool written in rust, which instantly notifies users about COVID-19 vaccine availability at their regions. Curre

Sanskar Jaiswal 20 May 20, 2021
A program written in pure Rust to query music info from mpd and display it in a notification.

musinfo A program written in pure Rust to query music info from mpd and display it in a notification. Note: Cover art is expected to be placed at /tmp

Cpt.Howdy 10 Aug 16, 2022
Program a Raspberry Pi Pico with pure Rust

pi-pico-rs Program a Raspberry Pi Pico with pure Rust. Get Started Install the latest version of Rust and the thumbv6m-none-eabi target. This is the p

Gerald Nash 5 Jul 29, 2022
A bare metal STM32F103C8T6/STM32F103 MCU program written in pure Rust

A bare metal (register level) STM32F103C8T6/STM32F103 MCU program written in pure Rust without any IDE, SDK, HAL or library, and no assembly code, the only tool required is the Rust compiler.

Hema Shushu 105 Dec 18, 2022
Watches changes in a rust project, runs test and shows friendly notification

Cargo testify Automatically runs tests on your Rust project and notifies about the result. Install Install prerequisites (for Debian/Ubuntu): apt-get

Sergey Potapov 77 May 16, 2022
Transmute - a binary that works alone or in coordination with coverage formatter to report test quality

Transmute is a binary that works alone or in coordination with coverage formatter to report test quality. It will change your code and make the tests fail. If don't, we will raise it for you.

Victor Antoniazzi 5 Nov 17, 2022
A program written in Rust, that allows the user to find the current location of the International Space Station and see it on a map.

ISS Location ViewFinder A program written in Rust, that allows the user to find the current location of the International Space Station and see it on

Suvaditya Mukherjee 2 Nov 8, 2021
Build your service-server fast, easy (and without hosting!)

service-io is a library to build servers that offering services with really little effort. Choose an input connector. Choose an output connector. Choo

Luis Enrique Muñoz Martín 34 Jan 4, 2023
Rustymind is a driver and parser for NeuroSky MindWave EEG headset written in pure Rust.

Rustymind is a driver and parser for NeuroSky MindWave EEG headset written in pure Rust. You can use it to connect, interact, and plot real time data from the headset.

Junjun Dong 34 Sep 13, 2022
mollusc is a collection of pure-Rust libraries for parsing, interpreting, and analyzing LLVM.

mollusc is a collection of pure-Rust libraries for parsing, interpreting, and analyzing LLVM.

William Woodruff 50 Dec 2, 2022