Merge pull request #1751 from pi-hole/tweak/FTL_SIGHUP

Send SIGHUP to pihole-FTL when restarting/reloading dnsmasq
This commit is contained in:
DL6ER
2017-10-26 21:43:16 +02:00
committed by GitHub

3
pihole
View File

@@ -359,6 +359,9 @@ restartDNS() {
[[ ! -t 1 ]] && local OVER=""
echo -e "${OVER} ${CROSS} ${output}"
fi
# Send signal to FTL to have it re-parse the gravity files
killall -s SIGHUP pihole-FTL
}
piholeEnable() {