thanks for your tutorial.
a small change to whoever might use your code, the file should be named “pihole.service” and not “pihole.server”.
also I didn’t check if just adding --restart always to the run command line suffices.
now comes my question. I use the CoreELEC box to run pihole on docker, just like described here, and my router is Archer C7 running OpenWRT, using “6,192.168.1.150” in the advanced DHCP settings to use the CoreELEC box as the dns server.
when restarting the box, the dns server (docker container) is not running yet, but the box tries to contact the NTP server to sync the time, and fails (I guess).
what follows are thousands of requests to all the NTP servers defined in CoreELEC, once every ~5 seconds. the time is not synced (it’s late by ~8 seconds), and this goes on and on:
does anyone know how to make it work?