Hallo John,
you gave me the hint I needed.
Am 08.03.2006 um 13:31 schrieb John Kodis:

I've had success with the following launchd file.  It's written to use
the standard bacula file locations which run the command:

    /sbin/bacula-fd -v -f -c /etc/bacula/bacula-fd.conf

As you've already figured out, you can just drop this big blob of XML
into the  /Library/LaunchDaemons/ directory with a filename of
net.bacula-fd.plist, and launchd will do the rest.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC
  "-//Apple Computer//DTD PLIST 1.0//EN"
<plist version="1.0">
  <dict>
    <key>Label</key>
      <string>net.bacula-fd</string>
    <key>OnDemand</key>
      <false/>
    <key>ProgramArguments</key>
      <array>
        <string>/sbin/bacula-fd</string>
        <string>-f</string>
        <string>-v</string>
        <string>-c</string>
        <string>/etc/bacula/bacula-fd.conf</string>
      </array>
  </dict>
</plist>

I have nearly the same config file except I didn't use the -v switch. My error was that I had a blank between the -c switch and the path to the config file. After removing the blank everything went well.
Just to document it: bacula-fd compiled well with the apple development package from the installation disks and has been installed with launchd (XML configuration as noted above) on MacOS X 10.4.5 (Tiger) on an iMac Intel Core Duo.

Stefan

-- 

Stefan Schwietert

Systembetreuer

Ulmer Volkshochschule


Reply via email to