Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2013 09:55:07 +0200
From:      Alex Dupre <ale@FreeBSD.org>
To:        Garrett Wollman <wollman@freebsd.org>, hackers@freebsd.org,  ports@freebsd.org
Subject:   Re: rc.d scripts to control multiple instances of the same daemon?
Message-ID:  <51CA9E5B.4010909@FreeBSD.org>
In-Reply-To: <20937.62239.626943.350086@hergotha.csail.mit.edu>
References:  <20937.62239.626943.350086@hergotha.csail.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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