mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-25 00:30:29 +00:00
Run gravity upgrade on checkout/update
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
0066c6fbff
commit
8e8c7ecad2
2 changed files with 7 additions and 1 deletions
|
@ -2225,6 +2225,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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue