Bacula-users

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

2008-10-08 16:05:09
Subject: Re: [Bacula-users] file inclusion directive - @|sh - causes error
From: Guy Matz <gmatz AT openfinance DOT com>
To: Martin Simmons <martin AT lispworks DOT com>
Date: Wed, 08 Oct 2008 16:01:14 -0400
nope, not that either.  are you guys just taking stabs in the dark!?  ;-)

thanks,
guy

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
  

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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