Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
9d7e9520
Commit
9d7e9520
authored
Oct 16, 2012
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add home directory for boinc client
parent
60d500dc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
slapos/recipe/boinc/__init__.py
slapos/recipe/boinc/__init__.py
+1
-1
software/boinc-client/instance-boinc.cfg
software/boinc-client/instance-boinc.cfg
+1
-0
software/boinc-client/software.cfg
software/boinc-client/software.cfg
+1
-1
No files found.
slapos/recipe/boinc/__init__.py
View file @
9d7e9520
...
...
@@ -333,7 +333,7 @@ class Client(GenericBaseRecipe):
def
__init__
(
self
,
buildout
,
name
,
options
):
#get current uig to create a unique rpc-port for this client
stat_info
=
os
.
stat
(
options
[
'
install-dir
'
].
strip
())
stat_info
=
os
.
stat
(
options
[
'
home
'
].
strip
())
options
[
'rpc-port'
]
=
pwd
.
getpwuid
(
stat_info
.
st_uid
)[
2
]
+
5000
return
GenericBaseRecipe
.
__init__
(
self
,
buildout
,
name
,
options
)
...
...
software/boinc-client/instance-boinc.cfg
View file @
9d7e9520
...
...
@@ -32,6 +32,7 @@ bytes = 8
[boinc-client]
recipe = slapos.cookbook:boinc.client
install-dir = $${basedirectory:boinc}
home = $${buildout:directory}
client-wrapper = $${basedirectory:services}/boinc_client
cmd-wrapper = $${basedirectory:services}/boinc_cmd
#specifie a cc_config.xml file to boinc client, use cconfig
...
...
software/boinc-client/software.cfg
View file @
9d7e9520
...
...
@@ -28,7 +28,7 @@ mode = 0644
# Default template for boinc-client instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-boinc.cfg
md5sum =
147fd101d507c4f8eba9694e25571d4e
md5sum =
359c2dcf415af3428736d31e5a0a30b1
output = ${buildout:directory}/template-boinc.cfg
mode = 0644
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment