tanrax / maza-ad-blocking

Simple, native and efficient local ad blocker. Only Bash.
https://maza-ad-blocking.andros.dev/
Apache License 2.0
1.78k stars 64 forks source link

Correct way of updating block list when not using DNSMASQ #27

Closed osiers000 closed 1 month ago

osiers000 commented 1 month ago

Hi, thanks a lot for the software! I'm currently using maza without dnsmasq, and it seems like the only time maza writes rules to the hosts file is at maza start command. So in order to properly update the block list, do I need to restart maza every time rather than just calling maza update?

tanrax commented 1 month ago

Hi @osiers000 ! Thanks for reporting the problem. The host file will now be updated when you use the update command. Be careful that your configurations must be in the /root/.config/maza folder! If you don't have any, you shouldn't do anything. Enjoy it!