hi all, i've got a question for the gurus,
what really happens with environment variables, and how are they visible?
when you say something like
APP_LOG_DIR=/var/log/app/error.log
export APP_LOG_DIR
that sets the the environment variable for the rest of the current session
and for all sessions spawned by that session, right?
so if those statements are in a script executed by root at startup that
variable should be set for all user sessions, right?
but it doesn't seem to be happening that way, so where am i confused?
also what does the
. /etc/path/to/script
idiom do, it doesn't seem to be documented in the place i expect it to be
but i see it used in a number of scripts in /etc/postgresql
can someone point me to a clear and lucid explanation of what's going on,
i've read the man pages but they are rather opaque...and i'm still not
getting what i expect from the beast.
-thanx
Larry Price | "We have seen the truth.
[EMAIL PROTECTED] | And the truth makes no sense." -chesterton
_______________________________________________________________