-
Notifications
You must be signed in to change notification settings - Fork 0
Pi hole
gmircea edited this page Oct 10, 2019
·
3 revisions
https://wiki.archlinux.org/index.php/Pi-hole#Set-up_PHP
Involved services:
systemctl disable systemd-resolved.service
systemctl start nginx.service php-fpm.service
systemctl start pihole-FTL.service
Edit /usr/lib/systemd/system/pihole-FTL.service to cut out capabilities, else you will get an error:
pihole-FTL.service: Failed to apply ambient capabilities (before UID change): Invalid argument
pihole-FTL.service: Failed at step CAPABILITIES spawning /usr/bin/pihole-FTL: Invalid argument
So comment out this line:
#AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_NET_ADMIN
and instead set them manually:
# setcap cap_net_bind_service=+ep /usr/bin/pihole-FTL
Network->Interfaces>LAN>Edit>Advanced Settings>DHCP Server>Advanced Settings>DHCP Options>6,192.168.1.16