> >     # 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 bacula-dir to generate  
> a subset of the configuration data from a script?

When I said "globally" I meant "for all of the daemons" (fd, dir, sd).

Your idea has merit, but I think it would be a much more substantial
patch. This patch specifically changes the behavior when starting to
open a file.

You can certainly replicate the behavior you're suggesting by using this
patch, and having your own script do the parsing-and-modification.

-- Jorj

Attachment: pgpAsqMwh4MWp.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to