FreeBSD Port: bacula-server-1.38.5_1 rc scripts

Trix Farrar trix at basement.net
Mon Feb 6 11:38:18 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jan 31, 2006 at 04:53:59PM -0800, Doug Barton wrote:
> Trix Farrar wrote:
> > Doug Barton wrote:
> 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.
>

Yes, for production, that would be the case.  The scripts I have
submitted are, admittedly, at the "proof of concept" stage.  Ad the
scripts don't know where they might be running from at this point,
they look for their subroutines in the directory the script was
executed from.

If they were to be included in the port, yes, they would be patched to
look for their subroutines in $PREFIX/etc, as you suggest.

> > 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).
>

You mean it's not there already?  Honestly, I haven't looked.  I just
kind of assumed it would be there.  Then again, I haven't used
/etc/rc.conf.d, either.  I coded it into the script in an effort to be
functionally complete; in line with how everything else works.

Thank you for your input.  Sorry that I've been so slow to reply.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD56WcUn6S0hqD4tsRAlw2AJ4o0k0RzcEy7g1c8ahsRcgqdZqH3gCeOb1t
9wVW6d2yHrDsu6ATPRccZUI=
=Tgtm
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list