Skip to contentSkip to conversation

HowTo: Set enviroment variables to be availiable during boot?

DISCUSSION Ola Theander 1 participant 1 message Nov 23, 2002

lore
Share & tools
lore
#0 lore raw

Dear subscribers.

On my Linux server I try to start the Tomcat server during boot. The problem is that Tomcat requires the JAVA_HOME environment variable to be set. I've tried to set this variable in the profile.local file but it seems like this file isn't evaluated until I log on to the server. Therefore I searched on the Internet and found that the environment variable should probably be stored in the rc.local file which is evaluated during boot. The problem is that my SuSE 8.1 installation doesn't have an rc.local file, so I'm kind of stuck.

Any help on this matter would be greatly appreciated.

Kind regards, Ola Theander

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs