services.datadog: remove python2 from systemd service (#228312)

which caused a security warning. seems to work without it so let's ditch it
This commit is contained in:
Matthieu Coudron 2023-05-01 16:37:34 +02:00 committed by GitHub
parent 84a9679726
commit 7fe4909bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,7 +235,7 @@ in {
systemd.services = let
makeService = attrs: recursiveUpdate {
path = [ datadogPkg pkgs.python pkgs.sysstat pkgs.procps pkgs.iproute2 ];
path = [ datadogPkg pkgs.sysstat pkgs.procps pkgs.iproute2 ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
User = "datadog";