Subversion Repositories sysadmin_scripts

Rev

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