Work on documentation.
[monikop.git] / test / monikop.config.test.2
blob4e6c86ea3ccf4cb88f55291ba5d9bd0779969285
1 # -*- perl -*-
2 #############################################################
3 # Monikop Settings
5 # Copy this file to monikop.config and adapt it to your needs.
6 ##############################################################
7 # Possible data sources, and by what directory name to represent them in
8 # destination.
9 # When the latter is not unique, care must be taken that all pathnames in the 
10 # respective sources are unique.
11 %sources = (
12     'rsync://localhost:2000/test_01/data' => '',
13     'rsync://localhost:2000/test_02/data' => '',
14     );
16 # Possible mount points of data destinations. Must be unique.
17 @usable_mount_points = (
18     '/tmp/monikop-test/mnt/03',
19     '/tmp/monikop-test/mnt/04',
20     '/tmp/monikop-test/mnt/05',
21     );
23 # Common directory (under a mount point) to put new data in.
24 # Must agree with Pokinom's setting.
25 $path_in_destination =
26     'measuring_data'
27     ;
29 # Directories (under any mount point) of this name will be deleted
30 # Must agree with Pokinom's setting.
31 $path_in_destination_backed_up =
32     'backed_up'
33     ;
35 # Directory name (under a mount point) while being deleted.
36 # Must agree with Pokinom's setting.
37 $path_in_destination_being_deleted =
38     'being_deleted'
39     ;
41 # Path and file name prefix of rsync's raw logs:
42 $rsync_log_prefix =
43     '/tmp/monikop-test/log/log.'
44     ;
46 # Path and file name prefix of the list of successfully rsynced files:
47 $finished_prefix =
48     '/tmp/monikop-test/log/finished.'
49     ; 
51 # How to suffix the name of the duplicate of a safe file:
52 $safe_file_backup_suffix =
53     '.bak'
54     ; 
56 # How to suffix the name of an unfinished safe file:
57 $safe_file_unfinished_suffix =
58     '.unfinished'
59     ; 
61 # What to do (shutdown) when F3 has been pressed:
62 $key_f3_action =
63     "sudo halt -p"
64     ;
66 # What to do (reboot) when F6 has been pressed:
67 $key_f6_action =
68     "sudo reboot"
69     ;
71 # Rsyncs time (in seconds) to wait for a response:
72 $rsync_timeout =
73     30
74     ;
76 # Rsyncs directory (relative to destination) for partially transferred files.
77 # Must agree with Pokinom's setting.
78 $rsync_partial_dir_name =
79     '.rsync_partial'
80     ;