amm n00b

Joined: 17 Jul 2003 Posts: 1 Location: Sydney, Australia
|
Posted: Thu Jul 17, 2003 4:46 am Post subject: conf.d / env.d shared variables? |
|
|
I'm attempting to create an init.d script for an application that will also also need to have some environment variables exported via env.d.
Is it possible to share variables between conf.d and env.d so I only have to specify the, say, application home directory in one location?
Also, env.d files don't appear to allow variable substition. Is there some way to have the following work?
Code: | /etc/env.d/69app :
APP_HOME=/opt/app
PATH=${APP_HOME}/bin
LD_LIBRARY_PATH=${APP_HOME}/lib
MANPATH=${APP_HOME}/man |
thanks,
...andrew |
|