mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-12 06:54:53 +00:00
Merge pull request #1751 from pi-hole/tweak/FTL_SIGHUP
Send SIGHUP to pihole-FTL when restarting/reloading dnsmasq
This commit is contained in:
commit
d8774901ee
1 changed files with 5 additions and 2 deletions
3
pihole
3
pihole
|
@ -359,6 +359,9 @@ restartDNS() {
|
||||||
[[ ! -t 1 ]] && local OVER=""
|
[[ ! -t 1 ]] && local OVER=""
|
||||||
echo -e "${OVER} ${CROSS} ${output}"
|
echo -e "${OVER} ${CROSS} ${output}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Send signal to FTL to have it re-parse the gravity files
|
||||||
|
killall -s SIGHUP pihole-FTL
|
||||||
}
|
}
|
||||||
|
|
||||||
piholeEnable() {
|
piholeEnable() {
|
||||||
|
|
Loading…
Reference in a new issue