Ask Your Question
0

How pass environment variables defined in /etc/profile.d/ to daemon?

asked 2016-06-07 01:15:26 -0600

mikhail gravatar image

How pass environment variables defined in /etc/profile.d/ to daemon? in /etc/profile.d/ have several scripts: - proxy.sh defined variables for proxy - oracle.sh defined variables for NLS_LANG - and etc

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-06-07 12:39:17 -0600

One option:

export NLS_LANG=value
export OTHER_VAR=value
proxy.sh
oracle.sh

Another option:

NLS_LANG=value proxy.sh
NLS_LANG=value oracle.sh
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-06-07 01:15:26 -0600

Seen: 290 times

Last updated: Jun 07 '16