The default way would be to install the package unattendedupgrade which will install security updates on your system every day.
Depending on how pihole is installed, this may not upgrade it. I personally have it installed with docker and uses watchtower for updates, but the risk with this mechanism is that it can break things.
I've set a cron job on the raspberry pi at my parents' house. It's a debian based system with only PiHole running so I just pihole -up and apt update && upgrade every month or so.
leonroy|5 years ago
marsokod|5 years ago
Depending on how pihole is installed, this may not upgrade it. I personally have it installed with docker and uses watchtower for updates, but the risk with this mechanism is that it can break things.
politelemon|5 years ago
However note that the developers of PiHole do not recommend automated upgrades, or at least be aware of the implications
apexalpha|5 years ago