Send SIGHUP to pihole-FTL when restarting/reloading dnsmasq

Signed-off-by: DL6ER <dl6er@dl6er.de>
pull/1751/head
DL6ER 7 years ago
parent da1d2b2c48
commit b9ae01d819
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -346,6 +346,9 @@ restartDNS() {
svc="service dnsmasq ${svcOption}"
fi
# Send signal to FTL to have it re-parse the gravity files
killall -s SIGHUP pihole-FTL
# Print output to Terminal, but not to Web Admin
str="${svcOption^}ing DNS service"
[[ -t 1 ]] && echo -ne " ${INFO} ${str}..."

Loading…
Cancel
Save