I have a buildagent running on OSX 10.12. I have installed it to run at boot (agent.sh install) and as a specific user (RUN_AS_USER).
The user has a modified PATH that appends /usr/local/bin to the default one. When I start the daemon directly, I can see in the node's System Attributes that the value is correct. However when the node is rebooted, the PATH returns to some basic value that doesn't include /usr/local/bin, even though the buildagent runs as the specified user.
Where does the agent take it from? I am using Quickbuild 6.0.
Note: launchd.conf is no longer supported for setting system-wide environment variables since OSX 10.10.
Thanks in advance.