[Unit]
Description=RMM Agent Linux
After=network.target

[Service]
Type=simple
User=root
WorkingDirectory=/etc/rmm
ExecStart=/usr/local/bin/rmm-agent-linux -config /etc/rmm/config.yaml
Restart=always
RestartSec=5

# Security settings
NoNewPrivileges=false
PrivateNetwork=false
PrivateTmp=true
ProtectSystem=false
ProtectHome=false

# Allow access to hardware info and system stats
SupplementaryGroups=

[Install]
WantedBy=multi-user.target