Subversion Repositories sysadmin_scripts

Rev

Rev 17 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

%config = (
   # location where directories are put by end users   
   'local root dir' => '',
   # location where directories are moved while processing
   'local work dir' => '',
   # location where directories are moved when job is completed
   'local trash dir' => '',
   # location where directories are moved while being transferred
   'local staging area' => '',

   # target server name/ip. Must be accessible via ssh with no password
   'target server' => '',
   # location on target server where directories are placed while copying
   'target staging area' => '',
   # location on target server where directories are finally put
   'target final directory' => '',

   # suffix of md5 of directories
   'md5 suffix' => 'md5sum',
   # suffix of filename to create showing actions
   'log suffix' => 'log',
   # suffix of error log
   'error suffix' => 'err',
   # how long a directory must be undisturbed before it is ready to work on
   'quiesent seconds' => 60*5, # five minutes
   # how long to leave stuff in the trash directory. 0 indicates never do it.
   'trash cleanup' => 86400*7, # 7 days
   # anoymous subroutine to do any final processing on remote machine
   'final procedure' => sub { return 1; }
);