ipabusedb-docker-reporter: log startup and next report time

This commit is contained in:
sneak committed 2026-11-06 20:44:19 -08:00
1 parent ea0c484370
commit e69352606b
1 file changed
+2
@@ -22,6 +22,8 @@ for var in DOCKER_CONTAINER_NAME IPABUSEDB_API_KEY; do
fi fi
done done
echo "ipabusedb-docker-reporter: starting up, next report in ${INTERVAL}s"
# Sleep in the background so that SIGTERM from "sv stop" (which runsvinit # Sleep in the background so that SIGTERM from "sv stop" (which runsvinit
# sends on "docker stop") interrupts the wait instead of orphaning sleep. # sends on "docker stop") interrupts the wait instead of orphaning sleep.
trap 'kill "$sleeper" 2>/dev/null; exit 0' TERM INT trap 'kill "$sleeper" 2>/dev/null; exit 0' TERM INT