From owner-freebsd-ports@FreeBSD.ORG Wed Jun 26 07:55:09 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 45F3E6B7 for ; Wed, 26 Jun 2013 07:55:09 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from relay.andxor.it (relay.andxor.it [195.223.2.3]) by mx1.freebsd.org (Postfix) with ESMTP id 843EA1491 for ; Wed, 26 Jun 2013 07:55:08 +0000 (UTC) Received: (qmail 36930 invoked from network); 26 Jun 2013 07:55:07 -0000 Received: from alex.andxor.it (a.premoli@andxor.it@192.168.2.30) by relay.andxor.it with ESMTPSA; 26 Jun 2013 07:55:07 -0000 Message-ID: <51CA9E5B.4010909@FreeBSD.org> Date: Wed, 26 Jun 2013 09:55:07 +0200 From: Alex Dupre User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17.1 MIME-Version: 1.0 To: Garrett Wollman , hackers@freebsd.org, ports@freebsd.org Subject: Re: rc.d scripts to control multiple instances of the same daemon? References: <20937.62239.626943.350086@hergotha.csail.mit.edu> In-Reply-To: <20937.62239.626943.350086@hergotha.csail.mit.edu> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2013 07:55:09 -0000 Garrett Wollman ha scritto: > I've looked around for examples of good practice to emulate, and > haven't found much. The closest to what I want looks to be > vboxheadless, but I'm uncomfortable with the amount of mechanism from > rc.subr that it needs to reimplement. Are there any better examples? Basically there are two types of implementation with different pro/cons: profiles and symlinks. vboxheadless is in the first category, tomcat7 in the second one: http://svnweb.freebsd.org/ports/head/www/tomcat7/files/tomcat7.in?revision=307489&view=markup -- Alex Dupre