From owner-freebsd-java Mon May 6 0:43:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 9BEBD37B400 for ; Mon, 6 May 2002 00:42:54 -0700 (PDT) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.3/8.12.3) with ESMTP id g467gsrW006811; Mon, 6 May 2002 09:42:54 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.3/8.12.3/Submit) id g467gsc4006810; Mon, 6 May 2002 09:42:54 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: zoidberg , Java FreeBSD Subject: Re: java program as service Date: Mon, 6 May 2002 09:42:54 +0200 X-Mailer: KMail [version 1.4] References: <00c601c1f2fd$7302de20$441814ac@newtim> <1020506982.515.1.camel@BSD-buddha.my.router> In-Reply-To: <1020506982.515.1.camel@BSD-buddha.my.router> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205060942.54064.ernsth@nl.euro.net> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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