Skip to content
/ pi Public

Raspberry Pi - Pi-Hole with breadboard button

License

Notifications You must be signed in to change notification settings

sievins/pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi

Pi-Hole with breadboard button that enables and disables it. Allows people without access to the Pi to turn adverts on and off.

The service that manages the button automatically runs on startup.

Pi and Breadboard with Button

Useful commands

Button service:

sudo systemctl daemon-reload # Run when updating the service
sudo systemctl status pihole-button # Get the state of service
sudo systemctl enable pihole-button.service # Start service on boot
sudo systemctl disable pihole-button.service # Do not start service on boot
sudo systemctl start pihole-button.service # Start service now
sudo systemctl stop pihole-button.service # Stop service now
sudo systemctl restart pihole-button.service # Restart service now

Follow the button service's logs:

sudo journalctl -f -u pihole-button.service

Run the script directly:

chmod +x pihole-button.py
pihole-button.py

About

Raspberry Pi - Pi-Hole with breadboard button

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages