From owner-freebsd-ports@freebsd.org Wed Feb 24 02:22:44 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1FDAAB2455 for ; Wed, 24 Feb 2016 02:22:44 +0000 (UTC) (envelope-from dougb@dougbarton.us) Received: from dougbarton.us (dougbarton.us [IPv6:2607:f2f8:ab14::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BFD592AE; Wed, 24 Feb 2016 02:22:44 +0000 (UTC) (envelope-from dougb@dougbarton.us) Received: from [192.168.0.179] (172-7-206-56.lightspeed.irvnca.sbcglobal.net [172.7.206.56]) by dougbarton.us (Postfix) with ESMTPSA id 67E823A0BD; Wed, 24 Feb 2016 02:22:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dougbarton.us; s=dkim; t=1456280564; bh=15bq36Zcr+D70Km4cmx6GuY3fZdG+zXWqlOmj9eND/U=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=SGG71mEjbDQN6IZzmlcPbXht0ICLWhEzkw7c39Yg7BXqYdXad6mfA6QrAXKrfM2Kw t0g63DQ1ZCmH99Mox77ghxCkjTtVTJCcav5nr1o2YWDR9X2V1iolRDbUEn0IWlH0wY zgZMgh1Fes+MTUPgxzppEhZjg2xsSqX2hh7Gq5Ec= Subject: Re: Patch for named rc.d script to allow multiple instances To: George Michaelson References: <56CD0E0E.9090907@dougbarton.us> Cc: mat@freebsd.org, freebsd-ports@freebsd.org From: Doug Barton Openpgp: id=E3520E149D053533C33A67DB5CC686F11A1ABC84 Message-ID: <56CD13D6.9020404@dougbarton.us> Date: Tue, 23 Feb 2016 18:22:14 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 02:22:44 -0000 Hey George :) Glad to hear that this will actually be useful for someone. Doug On 02/23/2016 06:09 PM, George Michaelson wrote: > thanks for this doug. we need to do this, this is hugely useful to us. > > On Wed, Feb 24, 2016 at 2:57 PM, Doug Barton > wrote: > > Howdy, > > I'm currently working on a project that requires multiple instances > of named to run on the same server. So I took some time to modify > the rc.d script to support that robustly. > > The original concept for rc.d was that it should be easy to run > multiple instances of the same service, using a mechanism similar to > the one here. However that original mechanism was not ever/widely > used. As a result some of the code was removed, some of it rotted, > etc. It's still *relatively* easy to do, and hopefully the notes > included in the patch explain the process sufficiently. > > FWIW, I don't care if the patch is incorporated anywhere or not. But > since the work is already done I thought I'd share it in case it's > useful to someone. > > best regards, > > Doug > >