Bacula-users

Re: [Bacula-users] file inclusion directive - @|sh - causes error

2008-10-09 06:08:25
Subject: Re: [Bacula-users] file inclusion directive - @|sh - causes error
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 9 Oct 2008 11:00:28 +0100
>>>>> On Wed, 08 Oct 2008 16:01:14 -0400, Guy Matz said:
> 
> nope, not that either.  are you guys just taking stabs in the dark!?  ;-)

That syntax works for me in the latest build, so maybe your version doesn't
support it?

__Martin


> On 10/08/2008 03:28 PM, Martin Simmons wrote:
> >>>>>> On Wed, 08 Oct 2008 10:44:17 -0400, Guy Matz said:
> >>>>>>             
> >> hey-hey,
> >> i'm getting the following error when trying to use the "@|" notation to
> >> include multiple files . . .
> >>
> >> Starting bacula-dir: 03-Oct 18:40 bacula-dir: ERROR TERMINATION at 
> >> lex.c:545
> >> Config error: Cannot open included config file |: No such file or directory
> >>
> >>             : line 4, col 3 of file /etc/bacula/bacula-dir.d/job.conf
> >> @|"sh -c 'cat /etc/bacula/bacula-dir.d/job.d/*.conf'"
> >>
> >>
> >> the content of my job.conf file is the "@|" line above, and the files
> >> referred to in the @| line do exist.
> >>
> >> any thoughts?
> >>     
> >
> > Try putting the bar inside the quotes:
> >
> > @"|sh -c 'cat /etc/bacula/bacula-dir.d/job.d/*.conf'"
> >
> > __Martin
> >   

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users