From owner-freebsd-ports@FreeBSD.ORG Mon Jan 30 17:05:29 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 A4D3016A420 for ; Mon, 30 Jan 2006 17:05:29 +0000 (GMT) (envelope-from dan@langille.org) Received: from m21.unixathome.org (m21.unixathome.org [205.150.199.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D7F543D46 for ; Mon, 30 Jan 2006 17:05:28 +0000 (GMT) (envelope-from dan@langille.org) Received: from localhost (localhost [205.150.199.217]) by m21.unixathome.org (Postfix) with ESMTP id 08ADFC376; Mon, 30 Jan 2006 12:05:28 -0500 (EST) Received: from m21.unixathome.org ([205.150.199.217]) by localhost (m21.unixathome.org [205.150.199.217]) (amavisd-new, port 10024) with ESMTP id 05139-03; Mon, 30 Jan 2006 12:05:25 -0500 (EST) Received: from bast.unixathome.org (bast.unixathome.org [70.26.229.230]) by m21.unixathome.org (Postfix) with ESMTP id 83A49C370; Mon, 30 Jan 2006 12:05:25 -0500 (EST) Received: from [10.55.0.99] (wocker.unixathome.org [10.55.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 30D66B81C; Mon, 30 Jan 2006 12:05:25 -0500 (EST) From: "Dan Langille" To: Trix Farrar Date: Mon, 30 Jan 2006 12:05:25 -0500 MIME-Version: 1.0 Message-ID: <43DE0105.20315.E08DA8@dan.langille.org> Priority: normal In-reply-to: <43DD8771.7040505@basement.net> References: <43DD0997.3422.3D6D968C@dan.langille.org> X-mailer: Pegasus Mail for Windows (4.31) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unixathome.org Cc: ports@FreeBSD.org, dan@langille.org, Lars Koeller 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: Mon, 30 Jan 2006 17:05:29 -0000 On 29 Jan 2006 at 21:26, Trix Farrar wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dan Langille wrote: > > On 29 Jan 2006 at 15:00, Trix Farrar wrote: > > > >> Hello: > >> > >> I use Bacula to back up several clients to a single Director/Storage host. > >> When I installed Bacula under FreeBSD 5.3/5.4/6.0, I found the sample rc(8) > >> script disappointing because it doesn't appear to work well with client-only > >> machines. > > > > What is the problem with client-only machines? I have several. > > > > Bacula itself works just fine. That's not the issue I am attempting to > address. The scripts I've written are an attempt to tie in to rc(8) and > rcorder(8). > > I understand that the z-bacula.sh.sample script is generic and > platform-agnostic, but I wanted a system that takes advantage of the > flexibility of functions like rc.conf(5) for instances where my build machine > is not where I choose to run bacula-sd and bacula-dir. > > The z-bacula.sh.sample script will attempt to start all daemons that are > present; whether they are needed on the machine or not. My scripts give the > flexibility to set whether or not a daemon runs with a flag in rc.conf(5). It looks like mailman stripped your original attachment. It can be found here for a short while: http://beta.freshports.org/tmp/bacula-sh.shar NOTE I've changed the file names to have no path, so people don't overwrite their production files. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/