Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2002 09:42:54 +0200
From:      Ernst de Haan <ernsth@nl.euro.net>
To:        zoidberg <dr.zoidberg@telia.com>, Java FreeBSD <freebsd-java@FreeBSD.ORG>
Subject:   Re: java program as service
Message-ID:  <200205060942.54064.ernsth@nl.euro.net>
In-Reply-To: <1020506982.515.1.camel@BSD-buddha.my.router>
References:  <00c601c1f2fd$7302de20$441814ac@newtim> <1020506982.515.1.camel@BSD-buddha.my.router>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> if i want to run a java program as a service, how is this done in the
> best way? can i do as an ordinary service that i start through a script
> in rc.d, or is there something special i have to think about?

You could create an executable JAR file. Then you could use daemonctl.c from 
/usr/ports/www/jakarta-tomcat4/files.


Ernst

-- 
Ernst de Haan
EuroNet Internet B.V.

    "Come to me all who are weary and burdened
        and I will give you rest" -- Jesus Christ

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




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