Comment

Comment by darlingdem

Seriously?

    is_ready() {
        while ! nc -z $1 $2; do
            echo "Waiting for $1:$2..."
            sleep 1
        done
        echo "$1:$2 is accessible."
    }

    is_ready google.com 443 &
    is_ready x.com 443 &
    wait
parent darlingdem 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton