Subversion Repositories sysadmin_scripts

Rev

Rev 16 | Rev 21 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
16 rodolico 1
%config = (
2
   # location where directories are put by end users   
3
   'local root dir' => '',
4
   # location where directories are moved while processing
5
   'local work dir' => '',
6
   # location where directories are moved when job is completed
7
   'local trash dir' => '',
8
   # location where directories are moved while being transferred
9
   'local staging area' => '',
10
 
11
   # target server name/ip. Must be accessible via ssh with no password
12
   'target server' => '',
13
   # location on target server where directories are placed while copying
14
   'target staging area' => '',
15
   # location on target server where directories are finally put
16
   'target final directory' => '',
17
 
18
   # suffix of md5 of directories
19
   'md5 suffix' => 'md5sum',
20
   # suffix of filename to create showing actions
21
   'log suffix' => 'log',
22
   # suffix of error log
23
   'error suffix' => 'err',
24
   # how long a directory must be undisturbed before it is ready to work on
25
   'quiesent seconds' => 60*5, # five minutes
26
   # how long to leave stuff in the trash directory. 0 indicates never do it.
27
   'trash cleanup' => 86400*7, # 7 days
28
   # anoymous subroutine to do any final processing on remote machine
29
   'final procedure' => sub { return 1; }
30
);