More documentation.
[monikop.git] / monikop.config
blob8d021e5988f38200e6cd00f24a52c61552fe7b6e
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     'central::log' => '',
11     'nav::log' => '',
12     'front::log' => '',
13     'rear-left::log' => '',
14     'rear-right::log' => '',
15     'rear-scanner::log' => '',
16     );
18 # Possible mount points of data destinations. Must be unique.
19 @usable_mount_points = (
20     '/media/platte_01',
21     '/media/platte_02',
22     '/media/platte_03',
23     '/media/platte_04',
24     '/media/platte_05',
25     '/media/platte_06',
26     '/media/platte_07',
27     '/media/platte_08',
28     '/media/platte_09',
29     '/media/platte_10',
30     '/media/platte_11',
31     '/media/platte_12',
32     );
34 # Common directory (under a mount point) to put new data in.
35 # Must agree with Pokinom's setting.
36 $path_in_destination =
37     'measuring_data'
38     ;
40 # Directories (under any mount point) of this name will be deleted
41 # Must agree with Pokinom's setting.
42 $path_in_destination_backed_up =
43     'backed_up'
44     ;
46 # Directory name (under a mount point) while being deleted.
47 # Must agree with Pokinom's setting.
48 $path_in_destination_being_deleted =
49     'being_deleted'
50     ;
52 # Path and file name prefix of rsync's raw logs:
53 $rsync_log_prefix =
54     '/home/messung/monikop/log/log.'
55     ;
57 # Path and file name prefix of the list of successfully rsynced files:
58 $finished_prefix =
59     '/home/messung/monikop/log/finished.'
60     ; 
62 # How to suffix the name of the duplicate of a safe file:
63 $safe_file_backup_suffix =
64     '.bak'
65     ; 
67 # How to suffix the name of an unfinished safe file:
68 $safe_file_unfinished_suffix =
69     '.unfinished'
70     ; 
72 # What to do (shutdown) when F3 has been pressed:
73 $key_f3_action =
74     "sudo /sbin/halt -p"
75     ;
77 # What to do (reboot) when F6 has been pressed:
78 $key_f6_action =
79     "sudo /sbin/reboot"
80     ;
82 # Rsyncs time (in seconds) to wait for a response:
83 $rsync_timeout =
84     30
85     ;
87 # Rsyncs directory (relative to destination) for partially transferred files.
88 # Must agree with Pokinom's setting.
89 $rsync_partial_dir_name =
90     '.rsync_partial'
91     ;