You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cross-platform Daemon/Service Mode for daemoneye-agent
Summary
Implement a first-class, cross-platform service/daemon mode for the daemoneye-agent (Orchestrator) using the proc-daemon crate that:
Runs as a native background service on Linux/macOS (daemon) and Windows (service)
Supervises collector processes (e.g., procmond and specialty collectors) with robust lifecycle management
Integrates with system service managers (systemd, launchd, Windows SCM)
Preserves parity with interactive mode while adding secure privilege management, logging, health, and recovery
🏗️ Architecture Integration: This issue implements the service foundation that enables daemoneye-agent to manage collector-core based components like procmond as described in issue #89.
Context & Motivation
This is a core building block to operate DaemonEye reliably on servers and endpoints, ensuring automatic startup at boot, robust recovery, and centralized control of all monitoring components.
Critical for production deployments and unattended operation (blocking adoption)
Ensures proper privilege separation and least-privilege runtime
Enables standardized installation, logging, and observability across Linux, macOS, and Windows
Provides resilient supervision for collector processes with health checks and backoff restarts
Architecture Integration
Service Hierarchy
Operating System
├── Service Manager (systemd/launchd/SCM)
│ └── daemoneye-agent (proc-daemon based service)
│ ├── Process Supervision
│ │ ├── procmond (collector-core based)
│ │ ├── netmond (collector-core based)
│ │ └── filemond (collector-core based)
│ ├── Configuration Management
│ ├── Health Monitoring
│ └── IPC Coordination
└── System APIs & Resources
Cross-platform Daemon/Service Mode for daemoneye-agent
Summary
Implement a first-class, cross-platform service/daemon mode for the daemoneye-agent (Orchestrator) using the proc-daemon crate that:
🏗️ Architecture Integration: This issue implements the service foundation that enables daemoneye-agent to manage collector-core based components like procmond as described in issue #89.
Context & Motivation
This is a core building block to operate DaemonEye reliably on servers and endpoints, ensuring automatic startup at boot, robust recovery, and centralized control of all monitoring components.
Architecture Integration
Service Hierarchy
Integration Points
Technical Requirements
Service Framework Implementation
Cross-Platform Service Management
Linux/macOS Daemon Support
Windows Service Support
Collector Process Supervision
Lifecycle Management
Configuration Management
Implementation Phases
Phase 1: Service Foundation
proc-daemon Integration
Platform Integration
Phase 2: Process Supervision
Collector Management
Recovery & Resilience
Dependencies
Acceptance Criteria
Service Operation
Cross-platform Compatibility
Service Lifecycle
Collector Supervision
Timeline
Target completion aligned with v0.2.0 milestone (Due: September 22, 2025)
Related Issues
This issue enables the core service architecture that makes DaemonEye a production-ready monitoring platform.