Install wait-for-it by entering the following commands in the terminal:
sudo apt update sudo apt install wait-for-it
Description:
script that will wait on the availability of a host and TCP port
wait-for-it is a pure bash script that will wait on the availability of a host and TCP port. It is useful for synchronizing the spin-up of interdependent services, such as linked docker containers. Since it is a pure bash script, it does not have any external dependencies.
Homepage: https://github.com/vishnubob/wait-for-it
Version: 0.0~git20170723-1
Section: universe/misc