mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
amazon-ssm-agent: add the system's software to the path
Follow up to #342584. Similarly to that PR, it is surprising that software which was installed by the user isn't available to a script run over ssm by default. When executing commands with ssm, users will now have more predictable access to baked-in software instead of an extremely bare-minimum set currently there.
This commit is contained in:
parent
5a7a587ad7
commit
7547a1f5f8
@ -37,7 +37,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";
|
||||
|
Loading…
Reference in New Issue
Block a user