[Backport release-24.05] amazon-ssm-agent: add the system's software to the path (#343104)

This commit is contained in:
Arian van Putten
2024-09-24 10:33:01 +02:00
committed by GitHub

View File

@@ -45,7 +45,12 @@ in {
after = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
path = [ fake-lsb-release pkgs.coreutils ];
path = [
fake-lsb-release
pkgs.coreutils
"/run/wrappers"
"/run/current-system/sw"
];
serviceConfig = {
ExecStart = "${cfg.package}/bin/amazon-ssm-agent";