Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlite3 and nice #133

Open
arfazero opened this issue Nov 17, 2022 · 1 comment
Open

sqlite3 and nice #133

arfazero opened this issue Nov 17, 2022 · 1 comment

Comments

@arfazero
Copy link

arfazero commented Nov 17, 2022

the codes a bit jank (i like jank) for the new pihole and you need to install sqlite3 as it looks to be a prerequisite, im also looking at adding a cpu restriction so it can run without completely locking up the pihole and slowing down dns requests,

maybe something like

0 */1 * * * sudo nice -15 /home/pi/youTube_ads_4_pi-hole/youtube.sh >/dev/null

it does seem to do what it says with the YouTube adds, just needs a little more polish and an updated readme would also label as wip

9/10 ign :D nice work

@devhl-labs
Copy link

devhl-labs commented Dec 31, 2022

I also see sqlite3 not installed. After installing it, I only had more issues.

Directory /etc/pihole does not exist. I changed this path in youtube.sh to what I'm guessing it should have been at /home/devhl/pihole/etc-pihole. This directory has gravity.db and some other things the script interacts with. I also created both black.list and blacklist.txt in this directory.

After making these changes and running the script again I get these errors

xargs: pihole: No such file or directory
sudo: pihole: command not found

This was because I am running pihole in a docker container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants