mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-16 12:29:03 +00:00
Look for pihole-FTL, not dnsmasq!
Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
parent
7ed45d26c2
commit
0b87f489d5
1 changed files with 1 additions and 1 deletions
2
pihole
2
pihole
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue