[Unit] Description=RMM unprivileged outbound Linux agent After=network-online.target time-sync.target Wants=network-online.target [Service] Type=simple User=rmm-agent Group=rmm-agent StateDirectory=rmm-agent StateDirectoryMode=0700 UMask=0077 Environment=RMM_AGENT_STATE=/var/lib/rmm-agent Environment=RMM_CA_FILE=/etc/rmm/ca.pem Environment=RMM_TRANSPORT=auto Environment=RMM_EXTENDED_INVENTORY=1 Environment=RMM_CONNECT_ADDR=127.0.0.1:18443 EnvironmentFile=-/etc/rmm/agent.env ExecStart=/usr/local/libexec/rmm-agent Restart=on-failure RestartSec=10 NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true ProtectKernelTunables=true ProtectKernelModules=true ProtectControlGroups=true RestrictSUIDSGID=true RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK CapabilityBoundingSet= AmbientCapabilities= [Install] WantedBy=multi-user.target