From owner-freebsd-questions@FreeBSD.ORG Mon Jan 24 18:32:04 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 BA8511065675 for ; Mon, 24 Jan 2011 18:32:04 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp194.iad.emailsrvr.com (smtp194.iad.emailsrvr.com [207.97.245.194]) by mx1.freebsd.org (Postfix) with ESMTP id 923968FC1A for ; Mon, 24 Jan 2011 18:32:04 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp49.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id CC9E219055F for ; Mon, 24 Jan 2011 13:16:33 -0500 (EST) X-Virus-Scanned: OK Received: by smtp49.relay.iad1a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 8C934190533 for ; Mon, 24 Jan 2011 13:16:33 -0500 (EST) User-Agent: Microsoft-MacOutlook/14.1.0.101012 Date: Mon, 24 Jan 2011 13:16:29 -0500 From: Tom Worster To: FreeBSD Message-ID: Thread-Topic: Running two daemon instances -- rc.d or not? Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: 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 18:32:04 -0000 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. tnx tom