From owner-freebsd-ports@freebsd.org Wed Feb 24 02:09:02 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 BF844AB1F3F for ; Wed, 24 Feb 2016 02:09:02 +0000 (UTC) (envelope-from ggm@algebras.org) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 876851C42 for ; Wed, 24 Feb 2016 02:09:02 +0000 (UTC) (envelope-from ggm@algebras.org) Received: by mail-ob0-x233.google.com with SMTP id dm2so4514302obb.2 for ; Tue, 23 Feb 2016 18:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=algebras-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=duP0bR/qMoNfL92+SgZUFpznBIoTKEi74DvQLXJgwoI=; b=ZKJG2B4XfAF+fp77nGpvqOti10Y8mPdGhTpqik599vDLVQmgO9XFbmNzToIiN1uK27 WqCR2CP/rXtgPiiwU264whIwUf5kvARzPDyv3Iuri4JUZqugkEVQtV6Oz+cRDi3K9XF4 +xFmFfPyRIVTndWL9EGhHsOzVjCTXHPdkDz3p6KqR4EA2kCAchKZurNy854ahB0QEeor JsYhYcY14rxxRRK4DKMhuoLL4hzca+OQo2W6Bt5VAhArDo4vzwZuyokuYYo+rfUkm6Zj rVwOOI9bGzU90CkdNM7dWHbLFyAOempBFBNouEkmlQSfEzzNC3nljG6CDGViAEoEVvt8 TGNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=duP0bR/qMoNfL92+SgZUFpznBIoTKEi74DvQLXJgwoI=; b=mimqNyl5IeOWn0EUN+ls8OINSUvfBhiCJRNbML8vq9FhUl3+BJDvQMG7nmGmsuJlds AGw5bfvf2i7DonzwR7avDJAUV94FLQ9d4t5hdJXvRGqg8QLo67xV0fczsx7w5FWuXqr+ ZU3vIQDg+4USm5adAuB7SRUyIhg0ru/6gAGigl91ZQmAlFcWfzWLIsu6P/7VTqNIf3vQ AvzJ5h7X5B2BF8zAtiH489z44ooHoEkoO00My8YEk/9dN58CS4T/l/HqIXkmNsdlIAUv bIyYB1v7GLYCFTQU4zWR7z5WA8wAcJjcbxOq9GHnLfqBGqXNXKZaSyoJAVR7nU3E/wXo qnsA== X-Gm-Message-State: AG10YOQnpMCWLSRMv4ws9Z/kLn82UXcBnMB3abygtIJ/PNiqjt/Uwmf9idf8X4J3qB6mnGNrpOe1o2T/ik2W7A== MIME-Version: 1.0 X-Received: by 10.60.56.194 with SMTP id c2mr31696421oeq.29.1456279741873; Tue, 23 Feb 2016 18:09:01 -0800 (PST) Received: by 10.182.55.2 with HTTP; Tue, 23 Feb 2016 18:09:01 -0800 (PST) X-Originating-IP: [131.203.247.181] In-Reply-To: <56CD0E0E.9090907@dougbarton.us> References: <56CD0E0E.9090907@dougbarton.us> Date: Wed, 24 Feb 2016 15:09:01 +1300 Message-ID: Subject: Re: Patch for named rc.d script to allow multiple instances From: George Michaelson To: Doug Barton Cc: mat@freebsd.org, freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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:09:02 -0000 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 >