Files
docker-mods-uptime-kuma-tim…/root/etc/cont-init.d/15-wait-for-internet
T
2021-02-07 12:01:16 -05:00

7 lines
209 B
Plaintext

## !/usr/bin/with-contenv bash
# Loop until an active internet connection is established
until $(curl --max-time 60 -s -o /dev/null https://www.linuxserver.io/); do
# Sleep to allow cooldown
sleep 10
done