![](https://seccdn.libravatar.org/avatar/f5621799f07f7a7641591c82dceacfac.jpg?s=120&d=mm&r=g)
4 Jul
2001
4 Jul
'01
02:07
On 4 Jul 2001, Phil Shrimpton wrote:
I need to call a start-up script (for Tomcat), during the boot process. This script has to run before Apache, and the JAVA_HOME and CLASS_PATH variables need to be set-up. Where is the best place to call it from?
Putting them in /etc/rc.d/boot.local should work... AFAIK, /etc/rc.d/boot.local is run right before runlevel initialization. If this doesn't work, you'll just have to write a little script and run at as the first thing in your default runlevel. -- noodlez: Karol Pietrzak PGP KeyID: 0x3A1446A0