Make IDs of anti-/gravity lists available in vw_(anti)gravity (#5526)

This commit is contained in:
Dominik 2024-02-09 20:52:29 +01:00 committed by GitHub
commit 8f36fdf11c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 79 additions and 3 deletions

View file

@ -2242,6 +2242,11 @@ main() {
# but before starting or restarting the ftl service
disable_resolved_stublistener
# Check if gravity database needs to be upgraded. If so, do it without rebuilding
# gravity altogether. This may be a very long running task needlessly blocking
# the update process.
/opt/pihole/gravity.sh --upgrade
printf " %b Restarting services...\\n" "${INFO}"
# Start services