1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00

Look for pihole-FTL, not dnsmasq!

Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
Adam Warner 2018-03-03 15:59:56 +00:00
parent 7ed45d26c2
commit 0b87f489d5
No known key found for this signature in database
GPG Key ID: F5410858022DA5EB

2
pihole
View File

@ -340,7 +340,7 @@ restartDNS() {
svc="killall -s SIGHUP ${resolver}" svc="killall -s SIGHUP ${resolver}"
else else
# Get PID of resolver to determine if it needs to start or restart # Get PID of resolver to determine if it needs to start or restart
if pidof dnsmasq &> /dev/null; then if pidof pihole-FTL &> /dev/null; then
svcOption="restart" svcOption="restart"
else else
svcOption="start" svcOption="start"