Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-20 Thread Jorj Bauer
For example, starting the director like this: # bacula-dir -c '|/usr/local/sbin/generate-dir-config' Maybe I am missing some important point, but by now I can't see any mayor benefits of your solution compared with: # /usr/local/sbin/generate-dir-config

[Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Jorj Bauer
What: The ability to read a configuration file as stdout from an executable Why: The configuration files (particularly for the Director) are very complex. In my case I find it easier to have a program generate them from meta-information about the clients. Notes: The attached

Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Darien Hager
On Mar 19, 2007, at 6:59 AM, Jorj Bauer wrote: What: The ability to read a configuration file as stdout from an executable Why: The configuration files (particularly for the Director) are very complex. In my case I find it easier to have a program generate them from

Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Jorj Bauer
# bacula-dir -c '|/usr/local/sbin/generate-dir-config' ... would cause it to run /usr/local/sbin/generate-dir-config to generate a new configuration file. Hey, that sounds pretty useful. When you say globally, I assume you mean that I can just toss a similar line into

Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Darien Hager
On Mar 19, 2007, at 10:38 AM, Jorj Bauer wrote: # bacula-dir -c '|/usr/local/sbin/generate-dir-config' ... would cause it to run /usr/local/sbin/generate-dir-config to generate a new configuration file. Hey, that sounds pretty useful. When you say globally, I assume you mean that I

Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Andreas Helmcke
Jorj Bauer wrote: What: The ability to read a configuration file as stdout from an executable Why: The configuration files (particularly for the Director) are very complex. In my case I find it easier to have a program generate them from meta-information about the clients.

Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Jorj Bauer
Maybe I am missing some important point, but by now I can't see any mayor benefits of your solution compared with: # /usr/local/sbin/generate-dir-config /etc/bacula/bacula-dir.conf bacula-dir -c /etc/bacula/bacula-dir.conf It's subtle. You're missing the 'reload' command. -- Jorj

Re: [Bacula-users] Feature request: dynamic configuration files

2007-03-19 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Helmcke wrote: Jorj Bauer wrote: What: The ability to read a configuration file as stdout from an executable Why: The configuration files (particularly for the Director) are very complex. In my case I find it easier to have a program