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

« back to all changes in this revision

Viewing changes to rboinc/server/boinc_configuration.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.pl 356 2010-03-02 15:00:31Z toni $
 
5
 
 
6
 
 
7
 
 
8
# This file is part of RemoteBOINC.
 
9
# Copyright (C) 2010 Universitat Pompeu Fabra
 
10
 
 
11
# RemoteBOINC is free software; you can redistribute it and/or modify it
 
12
# under the terms of the GNU Lesser General Public License
 
13
# as published by the Free Software Foundation,
 
14
# either version 3 of the License, or (at your option) any later version.
 
15
 
 
16
# RemoteBOINC is distributed in the hope that it will be useful,
 
17
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
19
# See the GNU Lesser General Public License for more details.
 
20
 
 
21
# You should have received a copy of the GNU Lesser General Public License
 
22
# along with BOINC.  If not, see <http://www.gnu.org/licenses/>.
 
23
 
 
24
 
 
25
 
 
26
my $cgi="/home/boinc/toni/apache/cgi-bin";
 
27
 
 
28
return {
 
29
# Dav incoming directory, as seen by this script (path on server's
 
30
# filesystem)
 
31
    DAV_DIR  =>  "$cgi/../DAV",
 
32
 
 
33
# Boinc's project dir, used for sumbission
 
34
    PROJECT_DIR   =>  "/home/boinc/projects/LUNA",
 
35
 
 
36
# Workflow_results directory, where the input and assimilator's output
 
37
# files will go, and scripts will be launched.
 
38
    WORKFLOW_DIR  =>  "/home/boinc/projects/LUNA/workflow_results",
 
39
 
 
40
# DAV url as seen by the clients
 
41
    DAV_URL  =>  "http://XXXXX:8383/DAV/",
 
42
 
 
43
# Encodeinput parameters. Architecture will be appended at the end 
 
44
# of executable name (x86_64 or i686).
 
45
    ENCODE_EXECUTABLE => "$cgi/etc/encodeinput",
 
46
    ENCODE_CODE => -1,
 
47
 
 
48
# File extension table. The funny layout is to simplify XML-ing &
 
49
# lookups later.  The server will send this list to the client. The
 
50
# client will NOT download files if a file with the same name exists,
 
51
# OR one with the appended extensions.
 
52
    ALIAS_TABLE => [
 
53
        { Extension => "_0",
 
54
          Alias => [ ".log", ".log.gz", ".log.gz.bad" ] },
 
55
        { Extension => "_1",
 
56
          Alias => [ ".coor" ] },
 
57
        { Extension => "_2",
 
58
          Alias => [ ".vel" ] },
 
59
        { Extension => "_3",
 
60
          Alias => [ ".idx" ] },
 
61
        { Extension => "_4",
 
62
          Alias => [ ".dcd", ".dcd.gz", ".dcd.gz.bad" ] },
 
63
        ],
 
64
 
 
65
 
 
66
# Directory for miscellaneous files (eg. defaults)
 
67
    ETC_DIR => "$cgi/etc",
 
68
 
 
69
# Minimum age for files to be removed during remote retrieval, in days
 
70
# (possibly fractional). Should be at least the frequency with which
 
71
# validator is run. CURRENTLY UNUSED.
 
72
    REMOVE_MIN_AGE => 1./24,
 
73
 
 
74
# Defaults if not specified - not under user control
 
75
    DEFAULT_EMAIL => 'nobody@nil.es',
 
76
 
 
77
# Defaults if not specified - under user control
 
78
    DEFAULT_APP_NAME => 'acemd',
 
79
    DEFAULT_NUMSTEPS => 1,
 
80
    DEFAULT_PRIORITY => 1,
 
81
 
 
82
 
 
83
};
 
84