systemd-wait.fish#
A small script that checks whether or not an HTTP(s) endpoint is reachable before starting a list of services.
Please read the script, it isn't very long and but it is configured directly in the script.
There is a sample systemd unit to run this script, but note that this is best paired with your own setup for (re)starting services.