Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

463 B
Raw Blame
"""Process-local agent maintenance starts only in the server runtime."""


def start_agent_runtime(app):
    if app.config.get('TESTING'):
        return

    from app.services.agent_registry import agent_registry
    from app.services.nonce_service import nonce_service
    from app.services.anomaly_detection_service import anomaly_detection_service

    agent_registry.start(app)
    nonce_service.start_cleanup()
    anomaly_detection_service.start_cleanup()