On modification of lists, we should send real-time signal 0 instead of SIGHUP. This also preserves the DNS cache of not-blocked domains.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2019-12-11 21:47:46 +00:00
parent 3231e5c3ba
commit 69a909fc4c
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD
2 changed files with 12 additions and 4 deletions

View file

@ -257,5 +257,5 @@ echo "DONE"
fi
if [[ "${reload}" != false ]]; then
pihole restartdns reload
pihole restartdns reload-lists
fi