Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2005 17:18:07 +0100
From:      Melvyn Sopacua <melvyn@melvyn.homeunix.org>
To:        freebsd-java@freebsd.org
Subject:   Re: rc file for tomcat startup under FreeBSD?
Message-ID:  <200512151718.08065.melvyn@melvyn.homeunix.org>
In-Reply-To: <200512151606.jBFG6BNN010557@www.kukulies.org>
References:  <200512151606.jBFG6BNN010557@www.kukulies.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@melvyn.homeunix.org

FreeBSD 6.0-STABLE
Qt: 3.3.5
KDE: 3.4.3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512151718.08065.melvyn>