Skip to content

Commit

Permalink
nixos/datadog-agent: change start command (#57871)
Browse files Browse the repository at this point in the history
(cherry picked from commit f56d507)
Signed-off-by: Domen Kožar <domen@dev.si>
  • Loading branch information
Izorkin authored and domenkozar committed Apr 18, 2019
1 parent 3c62672 commit 7990c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/datadog-agent.nix
Expand Up @@ -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;
};
Expand Down

0 comments on commit 7990c3e

Please sign in to comment.