Merge pull request #1751 from pi-hole/tweak/FTL_SIGHUP
Send SIGHUP to pihole-FTL when restarting/reloading dnsmasq
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user