~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to rboinc/server/boinc_configuration_template.pl

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Site-specific configuration constants (used by the server side
 
2
# component). 
 
3
#
 
4
# $Id: boinc_configuration_template.pl 356 2010-03-02 15:00:31Z toni $
 
5
 
 
6
 
 
7
# This file is part of RemoteBOINC.
 
8
# Copyright (C) 2010 Universitat Pompeu Fabra
 
9
 
 
10
# RemoteBOINC is free software; you can redistribute it and/or modify it
 
11
# under the terms of the GNU Lesser General Public License
 
12
# as published by the Free Software Foundation,
 
13
# either version 3 of the License, or (at your option) any later version.
 
14
 
 
15
# RemoteBOINC is distributed in the hope that it will be useful,
 
16
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
18
# See the GNU Lesser General Public License for more details.
 
19
 
 
20
# You should have received a copy of the GNU Lesser General Public License
 
21
# along with BOINC.  If not, see <http://www.gnu.org/licenses/>.
 
22
 
 
23
 
 
24
my $cgi="";
 
25
 
 
26
return {
 
27
# Dav incoming directory, as seen by this script (path on server's
 
28
# filesystem)
 
29
    DAV_DIR  =>  "",
 
30
 
 
31
# Boinc's project dir, used for sumbission
 
32
    PROJECT_DIR   =>  "",
 
33
 
 
34
# Workflow_results directory, where the input and assimilator's output
 
35
# files will go, and scripts will be launched.
 
36
    WORKFLOW_DIR  =>  "",
 
37
 
 
38
# DAV url as seen by the clients
 
39
    DAV_URL  =>  "",
 
40
 
 
41
# Encodeinput parameters. Architecture will be appended at the end 
 
42
# of executable name (x86_64 or i686).
 
43
    ENCODE_EXECUTABLE => "$cgi/etc/encodeinput",
 
44
    ENCODE_CODE => xxxxxxx,
 
45
 
 
46
# Directory for miscellaneous files (eg. defaults)
 
47
    ETC_DIR => "$cgi/etc",
 
48
 
 
49
# Minimum age for files to be removed during remote retrieval, in days
 
50
# (possibly fractional). Should be at least the frequency with which
 
51
# validator is run (?)
 
52
    REMOVE_MIN_AGE => 1./24,
 
53
 
 
54
# Defaults if not specified - not under user control
 
55
    DEFAULT_WU_TEMPLATE => 'std_md_wu',
 
56
    DEFAULT_RESULT_TEMPLATE => 'std_md_result',
 
57
    DEFAULT_EMAIL => 'nobody@nil.es',
 
58
    DEFAULT_DELAY_BOUND => 5*24*3600,
 
59
 
 
60
# Defaults if not specified - under user control
 
61
    DEFAULT_APP_NAME => 'acemd',
 
62
    DEFAULT_NUMSTEPS => 1,
 
63
    DEFAULT_PRIORITY => 1,
 
64
    DEFAULT_TARGET_NRESULTS => 1,
 
65
    DEFAULT_MIN_QUORUM => 1,
 
66
 
 
67
 
 
68
};
 
69