More tests.
[monikop.git] / test / monikop.config.test.1
blob8176cde3c42d800d90d4964510dad51b7c8bb931
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.
17 @usable_mount_points = (
18     '/tmp/monikop-test/mnt/03',
19     '/tmp/monikop-test/mnt/04',
20     );
22 # Common directory (under a mount point) to put new data in.
23 # Must agree with Pokinom's setting.
24 $path_under_mount_point =
25     'measuring_data'
26     ;
28 # Directories (under any mount point) of this name will be deleted
29 # Must agree with Pokinom's setting.
30 $path_under_mount_point_backed_up =
31     'backed_up'
32     ;
34 # Directory name (under a mount point) while being deleted.
35 # Must agree with Pokinom's setting.
36 $path_under_mount_point_being_deleted =
37     'being_deleted'
38     ;
40 # Path and file name prefix of rsync's raw logs:
41 $rsync_log_prefix =
42     '/tmp/monikop-test/log/log.'
43     ;
45 # Path and file name prefix of the list of successfully rsynced files:
46 $finished_prefix =
47     '/tmp/monikop-test/log/finished.'
48     ; 
50 # How to suffix the name of the duplicate of a safe file:
51 $safe_file_backup_suffix =
52     '.bak'
53     ; 
55 # How to suffix the name of an unfinished safe file:
56 $safe_file_unfinished_suffix =
57     '.unfinished'
58     ; 
60 # What to do (shutdown) when F3 has been pressed:
61 $key_f3_action =
62     "sudo halt -p"
63     ;
65 # What to do (reboot) when F6 has been pressed:
66 $key_f6_action =
67     "sudo reboot"
68     ;
70 # Rsyncs time (in seconds) to wait for a response:
71 $rsync_timeout =
72     30
73     ;
75 # Rsyncs directory (relative to destination) for partially transferred files.
76 # Must agree with Pokinom's setting.
77 $rsync_partial_dir_name =
78     '.rsync_partial'
79     ;