From owner-freebsd-ports@FreeBSD.ORG Sat Feb 4 16:21:36 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87D5F16A435 for ; Sat, 4 Feb 2006 16:21:24 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id D368144587 for ; Sat, 4 Feb 2006 16:00:43 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 12264 invoked by uid 399); 1 Feb 2006 00:54:03 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 1 Feb 2006 00:54:03 -0000 Message-ID: <43E006A7.2050705@FreeBSD.org> Date: Tue, 31 Jan 2006 16:53:59 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: trix@basement.net References: <43DD0997.3422.3D6D968C@dan.langille.org> <43DDE3CB.23838.6E6C5F@dan.langille.org> <43DF7CAF.2000501@basement.net> <43DF9F75.8020801@FreeBSD.org> <43DFAEBF.8010807@basement.net> In-Reply-To: <43DFAEBF.8010807@basement.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: bacula-server-1.38.5_1 rc scripts X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 16:21:36 -0000 Trix Farrar wrote: > Doug Barton wrote: >>> I assume from what you've written here that you >>> have 3 separate rc.d scripts for these 3 separate services, is that correct? > > Yes, there is a different script for each service. Ok, that sounds great, thanks! > Because they are so > similar, though, they all source a common file (bacula.subr) for > function definitions. I presume that this file is in PREFIX/etc, not etc/rc.d, is that right? Only the scripts themselves should be in the rc.d directory. > In the same vein, the configuration options can all be read from a > single /etc/rc.conf.d/bacula file. That leads to an interesting question. Should we add support for a local rc.conf.d directory? Very few services use this directory now, so I've hesitated to tweak it, but theoretically support would be easy to add, and would provide an easier way to set defaults for more complex scripts (as you already know). Ideas? Doug -- This .signature sanitized for your protection