FreeBSD Port: bacula-server-1.38.5_1 rc scripts

Trix Farrar trix at basement.net
Tue Jan 31 07:05:27 PST 2006


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


More information about the freebsd-ports mailing list