Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 16:53:59 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        trix@basement.net
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: bacula-server-1.38.5_1 rc scripts
Message-ID:  <43E006A7.2050705@FreeBSD.org>
In-Reply-To: <43DFAEBF.8010807@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E006A7.2050705>