I have a stack where LD_LIBRARY_PATH is set in the user environment, and we want to append to it when launching our app. Our launcher-static.yml contains the following:
env:
LD_LIBRARY_PATH: "{{CWD}}/service/staf/linux-x86_64/lib"
The system environment has this defined:
$ echo $LD_LIBRARY_PATH
/opt/palantir/postgresql95/usr/pgsql-9.5/lib:/opt/palantir/postgresql95/usr/lib64:/opt/palantir/postgresql95/usr/lib64/atlas:/opt/palantir/postgresql95/lib64:
And on startup we get the following:
2017-01-12 14:48:59,004 INFO [main] EnterpriseManager - LD_LIBRARY_PATH = /opt/palantir/postgresql95/usr/pgsql-9.5/lib:/opt/palantir/postgresql95/usr/lib64:/opt/palantir/postgresql95/usr/lib64/atlas:/opt/palantir/postgresql95/lib64:
Ideally the launcher-static environment variable would actually get appended to they system environment variable.