Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 09:05:19 -0600
From:      Trix Farrar <trix@basement.net>
To:        Dan Langille <dan@langille.org>
Cc:        ports@FreeBSD.org, Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE>
Subject:   Re: FreeBSD Port: bacula-server-1.38.5_1 rc scripts
Message-ID:  <43DF7CAF.2000501@basement.net>
In-Reply-To: <43DDE3CB.23838.6E6C5F@dan.langille.org>
References:  <43DD0997.3422.3D6D968C@dan.langille.org> <43DDE3CB.23838.6E6C5F@dan.langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020409070001010003000603
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

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

Dan Langille wrote:
> 
> Sounds good to me.  What are the configuration items that we can put 
> in rc.conf?  That will help me test it.  And it'll also help us to 
> document it the knobs.

There are actually an embarrassing number of options;

Of course, there are the "normal" enable options; bacula_fd_enable,
bacula_sd_enable and bacula_dir_enable.  The scripts are written so that
, I believe, they should run on NetBSD as well using bacula_fd,
bacula_sd, and bacula_dir respectively.

Each daemon also has a set of knobs to be set in rc.conf or in
/etc/rc.conf.d/bacula:

bacula_XX_user - The user the daemon should run as (su handled by rc(8))
bacula_XX_group - The group the daemon should run as (also handled by rc(8))
bacula_XX_command - The name of the actual executable (in case its
stored in a different place or under a different name)
bacula_XX_conf - The name of the configuration file (see above)
bacula_XX_flags - optional arguments for rc(8) to pass to the daemon.

- From bacula_XX_conf, the scripts read the configuration file to
determine values for bacula_XX_port, bacula_XX_piddir, and
bacula_XX_pidfile; all to make rc(8)'s start, stop, poll, and status
commands work.

In all cases above, XX is replaced with "fd", "sd", or "dir" for File
Daemon, Storage Daemon, and Director Daemon respectively.

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

iD8DBQFD33yqUn6S0hqD4tsRAnGkAKCbYaPEMS2lrK7KfhOw7IjJolnXrACZAWQH
nGg0lHNHmfdQD61XPVkK/5w=
=XxCX
-----END PGP SIGNATURE-----

--------------020409070001010003000603--



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