Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2008 22:51:54 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        =?iso-8859-1?Q?Jo=E3o_Maca=EDba?= <joao.macaiba@gmail.com>
Cc:        freebsd-rc@freebsd.org
Subject:   Re: /usr/local/etc/rc.d/jboss4 :: jboss4ctl
Message-ID:  <20080622105154.GA52473@osiris.chen.org.nz>
In-Reply-To: <485CE442.4050904@wubethiopia.com>
References:  <1213927980.16027.8.camel@cons> <485CE442.4050904@wubethiopia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 21, 2008 at 02:21:38PM +0300, Mike Makonnen wrote:
> João Macaíba wrote:
> >Hi.
> >
> >I suppose this is the right mailing list for the question below. If it
> >is not, please tell me.
> >
> >
> >I've installed JBoss-4.2.2.GA using the ports system.
> >
> >When we start jboss using /usr/local/etc/rc.d/jboss4, we have jboss
> >binding to 127.0.0.1.
> >
> >I know from jboss run script, /usr/local/jboss4/bin/run.sh, I can bind
> >to 0.0.0.0 using "-b" parameter like this:
> >
> >--- snip ---
> >/usr/local/jboss4/bin/run.sh -b 0.0.0.0
> >--- snip ---
> >
> >How can I do this using rc.d jboss script ?

Try adding to /etc/rc.conf:

    jboss4_flags="-server -b 0.0.0.0"

-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
                   "Lots of folks confuse bad management with destiny"
                                                         - Kin Hubbard



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