Re: [Bacula-users] Read all config files in a directory
2008-04-28 03:11:14
* Hemant Shah schrieb am 28.04.08 um 04:25 Uhr:
> Folks,
>
> Maybe this could be a feature request.
>
> In a config file you can include another config file by specifying
> @/path/to/file. Is there a way to specify a path to a directory and have
> bacula daemons read all files in that directory.
>
> This would be similar to specifying config files for logrotate.
>
> Example:
>
> The bacula-dir.conf file would look like:
>
> Director
> {
> }
>
> @/path/to/directory/containing/dir/config/files
>
> If I need to add a client I just create a file in the directory and re-start
> director and it will read it. I do not have to add include statement in
> bacula-dir.conf file.
+1
Good Idea!
As a workaround you could have a script which creates your
bacula-dir.conf automatically everytime you create a new sub-config
file.
-Marc
--
****************************************************
* (morganj): 0 is false and 1 is true, correct? *
* (alec_eso): 1, morganj *
* (morganj): bastard. *
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|