######################################################################
##
##  stork_config
##
######################################################################
RELEASE_DIR             =  ./stork

######################################################################

LOCAL_DIR		= $(RELEASE_DIR)/local

##########  Pathnames

LOG		= $(LOCAL_DIR)/log
SPOOL		= $(LOCAL_DIR)/spool
EXECUTE		= $(LOCAL_DIR)/execute
BIN		= $(RELEASE_DIR)/bin
LIB		= $(RELEASE_DIR)/lib
INCLUDE		= $(RELEASE_DIR)/include
SBIN		= $(RELEASE_DIR)/sbin
LIBEXEC		= $(RELEASE_DIR)/libexec

HISTORY		= $(SPOOL)/history

##  Where is the Stork binary installed?

STORK				= $(SBIN)/stork_server

STORK_ADDRESS_FILE = $(LOG)/.stork_address

## $(STORK_LOG_BASE): Stork server job queue classad collection journal file.
## $(STORK_LOG_BASE).history: Used to track completed jobs.
## $(STORK_LOG_BASE).user_log: User level log, also used by DAGMan.

STORK_LOG_BASE		= $(LOG)/Stork
STORK_LOG = $(LOG)/StorkLog
STORK_DEBUG = D_FULLDEBUG
MAX_STORK_LOG = 4000000

## Stork startup arguments ## Start Stork on a well-known port.  
STORK_PORT			= 9621
STORK_ARGS = -p $(STORK_PORT) -f -Serverlog $(STORK_LOG_BASE)

## Limits the number of retries for a failed data placement (default= 10)
#STORK_MAX_RETRY = 1

## Limits the run time for a data placement job, after which the placement is considered failed. (by default = 0 - infinite)
#STORK_MAXDELAY_INMINUTES = 10

## Temporary credential storage directory used by Stork.
#STORK_TMP_CRED_DIR = /tmp

## Directory containing Stork modules.
STORK_MODULE_DIR = $(LIBEXEC)

## max number of jobs running at the same time (default 1)
STORK_MAX_NUM_JOBS = 1


## Temporary credential storage directory used by Stork.
##STORK_TMP_CRED_DIR = /tmp



## aggregating jobs - (default is 0, no aggregation)
## 1: aggregation according to dest_url
## 2:                          src_url
## 3: if src_hostname and dest_hostname matches
## 4:                        dest_hostname
##                           src_hostname

#STORK_AGGR_LEVEL  = 0 

## set max number of job that can be aggregated (combined into a single job)
#STORK_AGGR_MAX_COUNT = 0


## @@  transfer module specific default values @@ ## 
##
# STORK_RECURSIVE_COPY = FALSE

##
# STORK_VERIFY_CHECKSUM = FALSE

##
# STORK_VERIFY_FILESIZE = FALSE

## 
#STORK_NETWORK_CHECK = FALSE
        
##
# STORK_TRANSFER_CHECKPOINT = FALSE

                
## 
# STORK_TRANSFER_CHECKPOINT = FALSE
        
##
# STORK_SYNC_ONLY = FALSE

##
# STORK_SET_PERMISSIONS = FALSE

##
#
STORK_TEST_MODE=0
