An utility which waits for Internet connection being established.
To make systemd units which needs Internet access to feel better.
The utility pings some public DNS servers and quit after 3 success attempts. It will fail with exit code 1 if there is no Internet connection established in 5 minutes.
Go >= 1.20 is required. Run just
.
- Enable the utility to start:
systemctl enable --now wint
- Put these lines into all units which needs an established Internet connection to run:
[Unit]
After=wint.service
GPL.