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

This commit is contained in:
Yurii Izorkin 2019-03-18 23:31:04 +03:00 committed by Wael Nasreddine
parent 101901649b
commit f56d507e06

View File

@ -235,7 +235,7 @@ in {
''; '';
script = '' script = ''
export DD_API_KEY=$(head -n 1 ${cfg.apiKeyFile}) 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; serviceConfig.PermissionsStartOnly = true;
}; };