]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/bacula-sd.conf.in
Get correct slot when auto unloading a device.
[bacula/bacula] / bacula / src / stored / bacula-sd.conf.in
index 247eb01e41c42947af1416aa4626e8f8ddbb9f6a..4c0ad8b5980b5f00ba1487ccf2e4d3dac50d38e0 100644 (file)
@@ -45,7 +45,7 @@ Director {
 Device {
   Name = FileStorage
   Media Type = File
-  Archive Device = /tmp
+  Archive Device = @archivedir@
   LabelMedia = yes;                   # lets Bacula label unlabeled media
   Random Access = Yes;
   AutomaticMount = yes;               # when device opened, read it
@@ -60,7 +60,7 @@ Device {
 #  Name = Autochanger
 #  Device = Drive-1
 #  Device = Drive-2
-#  Changer Command = "/home/kern/bacula/bin/mtx-changer %c %o %S %a %d"
+#  Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
 #  Changer Device = /dev/sg0
 #}
 
@@ -181,8 +181,8 @@ Device {
 #  MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
 #  UnmountCommand = "/bin/umount %m";
 #  SpoolDirectory = /tmp/backup;
-#  WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v"
-#  FreeSpaceCommand = "/etc/bacula/dvd-handler %a free"
+#  WritePartCommand = "@scriptdir@/dvd-handler %a write %e %v"
+#  FreeSpaceCommand = "@scriptdir@/dvd-handler %a free"
 #}
 
 #