mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Move FTL re-parsing call after dnsmasq restart
This commit is contained in:
parent
b9ae01d819
commit
8dba2a88e2
1 changed files with 3 additions and 3 deletions
6
pihole
6
pihole
|
@ -346,9 +346,6 @@ 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}..."
|
||||
|
@ -362,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() {
|
||||
|
|
Loading…
Reference in a new issue