Unit test.
[monikop.git] / monikop.config
blobf4c061b0e742c5ae4d766a1db27947d8bd2091ef
1 # -*- perl -*-
2 ########################################
3 # Settings
4 ########################################
5 # Possible data sources, and by what directory name to represent them in
6 # destination.
7 # When the latter is not unique, care must be taken that all pathnames in the 
8 # respective sources are unique.
9 %sources = (
10     'vvastr164::ftp' => '164',
11     'vvastr164::ftp1' => '164-1',
12     'lsstr174::rsynctest' => '174',
13     'tt9/log' => '9',
14     'tt10/log' => '10',
15 #    'tt11/log' => '11',
16     );
18 # Possible mount points of data destinations. Must be unique.
19 @usable_mount_points = (
20     '/root/tt6',
21     '/root/tt7',
22     '/root/tt8',
23     '/blah',
24     );
26 # Common directory (under a mount point) to put new data in.
27 # Must agree with Pokinom's setting.
28 $path_in_destination =
29     'measuring_data'
30     ;
32 # Directories (under any mount point) of this name will be deleted
33 # Must agree with Pokinom's setting.
34 $path_in_destination_backed_up =
35     'backed_up'
36     ;
38 # Directory name (under a mount point) while being deleted.
39 # Must agree with Pokinom's setting.
40 $path_in_destination_being_deleted =
41     'being_deleted'
42     ;
44 # Path and file name prefix of rsync's raw logs:
45 $rsync_log_prefix =
46     '/root/log.'
47     ;
49 # Path and file name prefix of the list of successfully rsynced files:
50 $finished_prefix =
51     '/root/finished.'
52     ; 
54 # How to suffix the name of the duplicate of a safe file:
55 $safe_file_backup_suffix =
56     '.bak'
57     ; 
59 # How to suffix the name of an unfinished safe file:
60 $safe_file_unfinished_suffix =
61     '.unfinished'
62     ; 
64 # What to do (shutdown) when F3 has been pressed:
65 $key_f3_action =
66     "touch f3_pressed"
67     ;
69 # What to do (reboot) when F6 has been pressed:
70 $key_f6_action =
71     "touch f6_pressed"
72     ;
74 # Rsyncs time (in seconds) to wait for a response:
75 $rsync_timeout =
76     30
77     ;
79 # Rsyncs directory (relative to destination) for partially transferred files.
80 # Must agree with Pokinom's setting.
81 $rsync_partial_dir_name =
82     '.rsync_partial'
83     ;