[Zoo-discuss] Python service doesn't see Environment variable
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Wed Dec 17 11:21:08 PST 2014
I want my python process to access some environment variables
in a console launching this command works
python -c 'import os; print os.environ["TMPDIR"]'
But when zoo execute the python process it returns an error. Same using
getenv()
To create the environment variable I created a .sh in /etc/profile.d/
and it contains export TMPDIR="/tmp"
How can I fix this please?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20141217/fcda35e1/attachment.html>
More information about the Zoo-discuss
mailing list