customising .profile with env variables.
Daft question probably, but im having a blonde moment.
Centos 4.7-x86-64 App server running jboss have customised env file here Code:
/path/to/.env.file jboss users .profile looks like this: Code:
. /path/to/.env.file If i start a new session, it doesnt. I have other app servers which pick up all the vars from the file correctly, and their .profile is exactly the same as this server. ideas? TIA. |
Quote:
Apologies if I misunderstood. |
Yes, that is correct.
So how can i force the machine to read the new .profile? reboot? |
machine rebooted.
same issue. ran (as root) Code:
su - jbossuser -c 'env' |
All times are GMT -5. The time now is 03:06 PM. |