Dear Supporters,
is there a way to define an environment variable, in particular LD_LIBRARY_PATH to ensure it is taken by the Ignition gateway at start time?. I did it by adding to ignition.sh the name of a file including just the setting of the variable:
List of files to source prior to executing any commands. Use ‘;’ as delimiter.
For example:
FILES_TO_SOURCE="/home/user/.bashrc;anotherfile;…/file3"
The file I create includes a specific LD_LIBRARY_PATH value, however, it apparently is not recognized, because through an script running in the gateway
print (os.environ[‘LD_LIBRARY_PATH’]) reports that this variable is not defined.
Thanks in advance,
Patricia