nixos/datadog-agent: change start command (#57871)

This commit is contained in:
Yurii Izorkin
2019-03-18 13:31:04 -07:00
committed by Wael Nasreddine
parent 101901649b
commit f56d507e06
@@ -235,7 +235,7 @@ in {
'';
script = ''
export DD_API_KEY=$(head -n 1 ${cfg.apiKeyFile})
exec ${datadogPkg}/bin/agent start -c /etc/datadog-agent/datadog.yaml
exec ${datadogPkg}/bin/agent run -c /etc/datadog-agent/datadog.yaml
'';
serviceConfig.PermissionsStartOnly = true;
};