rc file for tomcat startup under FreeBSD?

Melvyn Sopacua melvyn at melvyn.homeunix.org
Thu Dec 15 08:18:10 PST 2005


On Thursday 15 December 2005 17:06, Christoph Kukulies wrote:
> How do I usually start tomcat on FreeBSD (6.0)?
> Do I put startup.sh in /usr/local/etc/rc.d?

There should be a tomcat-*.sh in /usr/local/etc/rc.d already.
Run it like:
/usr/local/etc/rc.d/tomcat*.sh rcvar

It'll give you the variable name to set to "YES" in /etc/rc.conf so it starts 
up. Probably something like jakarta_tomcat559_enable="YES".

(This procedure can be used for any daemons that install scripts 
in /usr/local/etc/rc.d)
-- 
Melvyn Sopacua
melvyn at melvyn.homeunix.org

FreeBSD 6.0-STABLE
Qt: 3.3.5
KDE: 3.4.3


More information about the freebsd-java mailing list