On Fri, Dec 20, 2002 at 03:04:52AM -0600, Steve Borho wrote:
> > I read to place ...startup.sh in /etc/rc.d/rc.local to start my app
> > (Tomcat) on startup.
> ...
> rc.local isn't sourced by any login shells.  You would be better served
> putting those two lines in a new file in /etc/profile.d
> 
> /etc/profile.d/java.sh would be an appropriate name for it

Except Tomcat normally runs as a daemon for the system, not as a personal
per-login program.

While rc.local is OK, it'd be better to create an entry in
/etc/rc.d/init.d and link it to the appropriate runlevels.  Actually,
if you use the RPM, that's what it does...

Cheers,
-- 
        Dave Ihnat
        [EMAIL PROTECTED]



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to