On Mon, 2002-12-16 at 11:56, Peter wrote:
> 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/
> 
> 

Take one of the simple init scripts (anacron is a good one)
copy it to "tomcat" and edit it to match what you want.

The comments at the beggining of the init script are used by 
the service and chkconfig commands.

After you have your script you can use "chkconfig --add tomcat"
to add it to the services management.

-Ben.



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

Reply via email to