Since version 5.22/00 it is possible to defined directly the workers in the XROOTD configuration file using the xpd.worker directive.
The format of this directive is very similar to the one for the valid lines in proof.conf:
xpd.worker role host options
where {role,host,options} have the same meaning as in proof.conf . The xpd.worker directive supports multiple host specification, allowing to write in condensed way the directives for hosts with similar names; for example, if the machine names are pw12.dom.ain, pw15.dom.ain and pw16.dom.ain, one can write a single line
xpd.worker worker pw[12,15-16].dom.ain port=12343
instead of three lines. The proof.conf example in proof.conf is equivalent to
# The workers, listening on port 2093
xpd.worker worker proofwrk[1,2] port=2093
xpd.worker worker proofwrk[1,2] port=2093
xpd.worker worker proofwrk[1,2] port=2093
xpd.worker worker proofwrk[1,2] port=2093
Starting from the development version 5.23/02 (trunk #27276) an additional key=value pair, 'repeat=N', is supported, allowing to further condense the specification of available workers on multi-core machines; this option allows to specify how many time the line or the multi-line has to be repeated. Using 'repeat' the above example becomes just:
# The workers, listening on port 2093
xpd.worker worker proofwrk[1,2] port=2093 repeat=4