specify setuptools version in stack/slapos.cfg only.
[slapos.git] / software / boinc-client / instance-boinc.cfg
1 [buildout]
2 parts =
3   boinc-client
4   publish-connection-informations
5
6 eggs-directory = ${buildout:eggs-directory}
7 develop-eggs-directory = ${buildout:develop-eggs-directory}
8 offline = true
9
10 [rootdirectory]
11 recipe = slapos.cookbook:mkdirectory
12 etc = $${buildout:directory}/etc/
13 var = $${buildout:directory}/var/
14 srv = $${buildout:directory}/srv/
15 bin = $${buildout:directory}/bin/
16 tmp = $${buildout:directory}/tmp/
17
18 [basedirectory]
19 recipe = slapos.cookbook:mkdirectory
20 log = $${rootdirectory:var}/log/
21 services = $${rootdirectory:etc}/run/
22 run = $${rootdirectory:var}/run/
23 backup = $${rootdirectory:srv}/backup/
24 promises = $${rootdirectory:etc}/promise/
25 boinc = $${rootdirectory:srv}/boinc/
26
27 [boinc-passwd]
28 recipe = slapos.cookbook:generate.password
29 storage-path = $${basedirectory:boinc}/gui_rpc_auth.cfg
30 bytes = 8
31
32 [boinc-client]
33 recipe = slapos.cookbook:boinc.client
34 install-dir = $${basedirectory:boinc}
35 home = $${buildout:directory}
36 client-wrapper = $${basedirectory:services}/boinc_client
37 cmd-wrapper = $${basedirectory:services}/boinc_cmd
38 ip = $${slap-network-information:global-ipv6}
39 passwd = $${boinc-passwd:passwd}
40 #specifie a cc_config.xml file to boinc client, use cconfig
41 cconfig =
42 boinc-bin = ${boinc:location}/bin/boinc_client
43 cmd-bin = ${boinc:location}/bin/boinccmd
44 server-url = $${slap-parameter:boinc-project-url}
45 key = $${slap-parameter:boinc-account-key}
46
47 # Publish all instance parameters
48 [publish-connection-informations]
49 recipe = slapos.cookbook:publish
50 boinc_project_url = $${slap-parameter:boinc-project-url}
51 boinc_account_key = $${slap-parameter:boinc-account-key}
52 remote_host = $${boinc-client:ip}
53 rpc_port = $${boinc-client:rpc-port}
54 rpc_passwd = $${boinc-passwd:passwd}
55
56 [slap-parameter]
57 #please provide project_url and your session key via SlapOS Master (instance parameters)
58 boinc-project-url = 
59 boinc-account-key =