You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter <ZP...@netscape.net> on 2002/12/16 17:54:45 UTC

Linux tomcat startup

How can I add tomcat to "Services" on a Red HAt 8.0 linux system, just like apache?

I know I can add a line to /etc/rc.d/init.d/httpd to start it at bootup, but I'd like to have it show up under "Services", so I can stop and restart when I need it.

Thanks,
Peter

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Linux tomcat startup

Posted by Andrew Pealing <ap...@dcc.govt.nz>.
I assume you mean the Gnome "Services" GUI

Try using chkconfig. Man chkconfig explains what's required, but 
basically you will need to create a startup script (called for instance 
'tomcat4') in /etc/rc.c/init.d/ that has the right "headers" – copy 
another one and edit it is a good plan.

Then use chkconfig –add tomcat4

Personally, I prefer to use the command line chkconfig to the gnome 
services, as it gives control over what run level the daemons start at.

Andrew

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 17/12/2002, 05:54:45, <ZP...@netscape.net> wrote regarding Linux 
tomcat startup:


> How can I add tomcat to "Services" on a Red HAt 8.0 linux system, just 
like apache?

> I know I can add a line to /etc/rc.d/init.d/httpd to start it at bootup, 
but I'd like to have it show up under "Services", so I can stop and restart 
when I need it.

> Thanks,
> Peter

> __________________________________________________________________
> The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp

> Get your own FREE, personal Netscape Mail account today at 
http://webmail.netscape.com/

> --
> To unsubscribe, e-mail:   
<ma...@jakarta.apache.org>
> For additional commands, e-mail: 
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>