mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +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}"
|
||||
else
|
||||
# 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"
|
||||
else
|
||||
svcOption="start"
|
||||
|
|
Loading…
Reference in a new issue