Log audit startup and validate audit path

This commit is contained in:
2026-02-08 00:58:27 +03:00
parent 80bd01a766
commit ec30d09c52
2 changed files with 24 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ from services.alerts import monitor_resources, monitor_smart
from services.metrics import MetricsStore, start_sampler
from services.queue import worker as queue_worker
from services.notify import notify
from services.audit import AuditMiddleware
from services.audit import AuditMiddleware, audit_start
import state
import handlers.menu
import handlers.status
@@ -31,6 +31,7 @@ async def notify_start():
async def main():
dp.update.outer_middleware(AuditMiddleware(cfg))
audit_start(cfg)
state.DOCKER_MAP.clear()
state.DOCKER_MAP.update(await discover_containers(cfg))
if cfg.get("docker", {}).get("watchdog", True):