From owner-freebsd-questions@FreeBSD.ORG Mon Jan 24 21:11:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CEF0106566B for ; Mon, 24 Jan 2011 21:11:46 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7A4888FC25 for ; Mon, 24 Jan 2011 21:11:45 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p0OLBHP9003338 Received: from gkeramidas-glaptop.linux.gr (217-162-216-74.dynamic.hispeed.ch [217.162.216.74]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p0OLBHP9003338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 24 Jan 2011 23:11:33 +0200 From: Giorgos Keramidas To: Tom Worster References: Date: Mon, 24 Jan 2011 22:11:12 +0100 In-Reply-To: (Tom Worster's message of "Mon, 24 Jan 2011 13:16:29 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: FreeBSD Subject: Re: Running two daemon instances -- rc.d or not? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2011 21:11:46 -0000 On Mon, 24 Jan 2011 13:16:29 -0500, Tom Worster wrote: > I need to set up a server with two instances of SphinxSearch searchd > (listening on different ports, of course). > > What's a good way to do it? > > Copying /usr/local/etc/rc.d/sphinxsearch to > /usr/local/etc/rc.d/sphinxsearch2 and editing that doesn't feel very > attractive. It should work, though. If it's "the simplest thing that could possible work"[1], why not go for it? [1] http://c2.com/xp/DoTheSimplestThingThatCouldPossiblyWork.html