From a7424a72794da388594048fdcbfcf9d34c810ea8 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Sun, 6 Nov 2022 23:31:19 +0100 Subject: [PATCH] Added db update date check --- docker/pi-hole/README.md | 3 +++ knowledge base/pi-hole.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docker/pi-hole/README.md b/docker/pi-hole/README.md index 3816fa5..8e06ff6 100644 --- a/docker/pi-hole/README.md +++ b/docker/pi-hole/README.md @@ -9,6 +9,9 @@ cd pi-hole && docker-compose up -d # Upgrade Graviton's DB. docker exec -ti pihole pihole -g + +# Check when Graviton's DB has been updated. +docker exec pihole stat /etc/pihole/gravity.db ``` ## Further readings diff --git a/knowledge base/pi-hole.md b/knowledge base/pi-hole.md index b720b70..a6e4efa 100644 --- a/knowledge base/pi-hole.md +++ b/knowledge base/pi-hole.md @@ -8,6 +8,9 @@ curl -sSL 'https://install.pi-hole.net' | bash # Update Graviton's DB. pihole -g + +# Check when Graviton's DB has been updated. +stat /etc/pihole/gravity.db ``` ## Further readings