Unit test.
[monikop.git] / pokinom.config.example
blob0f63edcfa51913e7950bbd0521201f3747a9a9aa
1 # -*- perl -*-
2 ##############################################################
3 # Settings
5 # Copy this file to pokinom.config and adapt it to your needs.
6 ##############################################################
7 # Possible mount points. Must be unique in their tails after rightmost /.
8 @possible_mount_points = (
9     '/media/disk_1',
10     '/media/disk_2',
11     '/media/disk_3',
12     );
14 # Directory relative to a mount point where new data resides.
15 # Must agree with Monikop's setting.
16 $path_under_mount_point =
17     'measuring_data';
19 # Directories of this name will be deleted.
20 # Must agree with Monikop's setting.
21 $path_under_mount_point_backed_up =
22     'backed_up'
23     ;
25 # Directory name while being deleted by monikop.
26 # Must agree with Monikop's setting.
27 $path_under_mount_point_being_deleted =
28     'being_deleted'
29     ;
31 # Data sink.
32 $destination =
33     'big-server::incoming/NEW_DATA';
35 # Credentials of the remote rsync server. String, or 0 if not used.
36 $rsync_username =
37     'm-operator'
38     ;
39 $rsync_password =
40     'sEcReT'
41     ;
43 # Full path to rsync's raw log
44 $rsync_log_prefix =
45     '/tmp/pokinom/log.'
46     ;
48 # Full path to a file to store list of rsync's incompletely transferred files in:
49 $interrupted_prefix =
50     '/tmp/pokinom/interrupted.'
51     ;
53 # Shut down when finished? (default); 1 = yes; 2 = stay on.
54 $shut_down_when_done =
55     0
56     ;
58 # How to turn off:
59 $shut_down_action =
60     "sudo halt -p"
61     ;
63 # Rsync's directory (relative to destination) for partially transferred files.
64 # Must agree with Monikop's setting.
65 $rsync_partial_dir_name =
66     '.rsync_partial'
67     ;