stevejenkins / pihole-cloudsync

Syncs blocklists, blacklists, and whitelists across multiple Pi-holes using a private GitHub repo
MIT License
517 stars 104 forks source link

Systemd timer setup documentation #7

Closed Conroman16 closed 4 years ago

Conroman16 commented 4 years ago

I had to set up a new Pi-Hole server tonight and I decided to set up pihole-cloudsync as a systemd timer unit so that I could have finer-grained control over when exactly it runs (after boot and general update interval) as well as limit it to at most 50% of the available CPU resources to keep it from slowing down the DNS server itself at all. This was mostly done in order to utilize systemd.slice's CPU limiting features since we meat bags like the internet to be as snappy as possible.

Anywho I just figured I'd share some documentation on it with the parent repo both so that others can set this up if they want, and so that I can remember how to set it up again in the future :laughing:.

Thanks for the awesome projects over the years @stevejenkins! Your GFiber/edgerouter configs saved my sanity like 5 years ago so it's high time I pay you something in return, even if it's just some documentation. It's the least I can do!

stevejenkins commented 4 years ago

Hey thanks, Connor! The COVID-19 outbreak has me rummaging around old projects and I finally got around to reviewing your docs. I'll merge them in now (and give you credit in that section).

Conroman16 commented 4 years ago

Hey, thank you!! I'm glad to see these get merged in. Now I can come back here when I've completely forgotten how I configured it the last time instead of reverse engineering it from the server side :laughing:

Also, I saw your v5.0 beta support work... awesome stuff! I haven't checked v5 out yet but it's nice to know that I can still continue syncing when I do as that probably wouldn't have been a fun landmine to stumble over during testing or migration.

Thanks again!