DuckDNS after power outage

Hi All,

This morning I had a power outage in my area. As a result, all devices power cycled. Whilst everything did come back up as expected, for reasons outside of my control, network restoration takes longer than Pi boot time, which means at boot, there is no IP/Network. It essentially self resolved when network came back up on LAN, but the DuckDNS Service failed initially and therefore did not start and was out of sync with external IP.

Is there a way to force it to retry in X minutes if the service hasn’t started?

You can see from log below, at the time of attempted start, network info was not yet available.

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started # INFO: Using main config file /data/workdir/config ERROR: Problem connecting to server (get for https://acme-v02.api.letsencrypt.org/directory; curl returned with 60) EXPECTED value GOT EOF s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped