Director { # define myself
Name = @hostname@-dir
- DIRport = 8101 # where we listen for UA connections
+ DIRPort = @dirport@ # where we listen for UA connections
QueryFile = "@scriptdir@/query.sql"
WorkingDirectory = "@working_dir@"
PidDirectory = "@piddir@"
FileSet {
Name = FS_TESTJOB
Include {
- File=</tmp/file-list
+ File=<@tmpdir@/file-list
}
}
read fifo = yes
}
# wait 60s per fifo
- File=/tmp/fifo
- File=/tmp/fifo2
- File=/tmp/fifo3
+ File=@tmpdir@/fifo
+ File=@tmpdir@/fifo2
+ File=@tmpdir@/fifo3
}
}
FileSet = FS_TESTJOB
MaxStartDelay = 30sec
Pool = PoolA
- # TODO: il faut un when=
+ Runbeforejob = "/bin/echo NEVER start this"
}
Job {
Client {
Name = @hostname@-fd
Address = @hostname@
- FDPort = 8102
+ FDPort = @fdport@
Catalog = MyCatalog
Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
File Retention = 30d # 30 days
Storage {
Name = File
Address = @hostname@ # N.B. Use a fully qualified name here
- SDPort = 8103
+ SDPort = @sdport@
Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
Device = FileStorage
Media Type = File