1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[Unit] Description="Datadog Agent" After=network.target [Service] Type=simple PIDFile=/run/datadog-agent/datadog-agent.pid User=dd-agent Restart=on-failure ExecStart=/usr/bin/datadog-agent run -p /run/datadog-agent/datadog-agent.pid StartLimitInterval=10 StartLimitBurst=5 [Install] WantedBy=multi-user.target