Minor changes.
[monikop.git] / pokinom.config.example
blob2c3e15baf29f35b61a304eabc3ddfac1b5c52853
1 # -*- perl -*-
2 ##############################################################
3 # Settings
5 # Copy this file to pokinom.config and adapt it to your needs.
6 ##############################################################
7 # Possible mount points.
8 @usable_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 destination:
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 # Path and file name prefix to rsync's raw log:
44 $rsync_log_prefix =
45     '/tmp/pokinom/log.'
46     ;
48 # Path and file name prefix to a file where a list of rsync's incompletely
49 # transferred files is stored in:
50 $interrupted_prefix =
51     '/tmp/pokinom/interrupted.'
52     ;
54 # Shut down when finished? (default); 1 = yes; 2 = stay on.
55 $shut_down_when_done =
56     0
57     ;
59 # How to turn off:
60 $shut_down_action =
61     "sudo halt -p"
62     ;
64 # Rsync's directory (relative to destination) for partially transferred files.
65 # Must agree with Monikop's setting.
66 $rsync_partial_dir_name =
67     '.rsync_partial'
68     ;