Yes.

you also need to add it as links in the rc.0 through rc.6 directorries. just
have a look at what ssh or sendmail does

regards
Tomasz Ciolek

--
Tomasz M. Ciolek
Systems Administrator - CSIRO Entomology
Phone: 02-62464391 * Fax: 02-62464000
 

> -----Original Message-----
> From: Johnny [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, 14 May 2002 17:00 
> To: Tomcat Users List
> Subject: RE: Starting TOmcat at Bootup
> 
> 
> 
>  Hi Carlos,
> 
>  In my Redhat v7.2 machine, I added the "tomcat" bootup file 
> (followed your
> script) inside "init.d" folder, but it's still not working. 
> Did I miss out
> something?
> 
>  Johnny.
> 
> -----Original Message-----
> From: Carlos [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 13, 2002 9:33 PM
> To: 'Tomcat Users List'
> Subject: RE: Starting TOmcat at Bootup
> 
> 
> Hi Abraham,
> 
> I am using a script that is very similar to one that I found 
> in earlier
> postings of this forum.  I created it with the webadmin, named it
> tomcat, and it installed n init.d.  It seem to start tomcat well in
> Linux RedHat v7.x.  I did not link it to the user tomcat like the
> postings of your e-mail suggest.
> 
> Anyways, I would appreciate any comments about the script 
> that follows:
> 
> 
> #!/bin/sh
> # description: Starting Tomcat at bootup
> # chkconfig: 2345 99 00
> #
> 
> # Source function library
> . /etc/rc.d/init.d/functions
> 
> # See how we are called
> case "$1" in
> start)
>       echo -n "Starting tomcat: "
>       export JAVA_HOME=/opt/IBMJava2-131
> 
>         export CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.1
> 
>       /usr/local/jakarta-tomcat-4.0.1/bin/startup.sh
> 
>       echo
>       touch /var/lock/subsys/tomcat
>       ;;
> stop)
>       echo -n "Shutting down tomcat: "
> 
>       export JAVA_HOME=/opt/IBMJava2-131
>         export CATALINA_HOME=/usr/local/jakarta-tomcat-4.0.1
> 
>       /usr/local/jakarta-tomcat-4.0.1/bin/shutdown.sh
>       rm -f /var/lock/subsys/tomcat
>       ;;
> restart)
>         $0 stop
>         $0 start
>         ;;
> *)
>       echo "Usage: $0 { start | stop|restart|reload|status }"
>         exit 1
>       ;;
> esac
> exit 0
> 
> Carlos Oliva
> Senior Programmer/Analyst
> Positive Business Solutions, Inc.
> Cincinnati, OH 45240-1640
> (513) 772 - 2255 ext 129
> [EMAIL PROTECTED]
> Yahoo ID: ramboid_1997
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to