Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Nirina Malard
slapos
Commits
a1e0d3c4
Commit
a1e0d3c4
authored
Feb 15, 2013
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use empty URL_BASE (BOINC)
parent
89d3c7a4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
slapos/recipe/boinc/__init__.py
slapos/recipe/boinc/__init__.py
+5
-1
slapos/recipe/bonjourgrid/__init__.py
slapos/recipe/bonjourgrid/__init__.py
+2
-0
stack/boinc/buildout.cfg
stack/boinc/buildout.cfg
+1
-1
stack/boinc/instance-boinc.cfg
stack/boinc/instance-boinc.cfg
+1
-1
No files found.
slapos/recipe/boinc/__init__.py
View file @
a1e0d3c4
...
...
@@ -101,6 +101,10 @@ class Recipe(GenericBaseRecipe):
niceprojectname
=
self
.
project
+
"@Home"
slapuser
=
self
.
options
[
'user'
]
#Check if given URL is not empty (case of URL request with frontend)
if
not
self
.
url_base
:
raise
Exception
(
"URL_BASE is still empty. Can not use it"
)
#Define environment variable here
python
=
os
.
path
.
join
(
self
.
home
,
'bin/python'
)
python_path
=
self
.
boinc_egg
...
...
@@ -306,7 +310,7 @@ class App(GenericBaseRecipe):
wrapperdir
=
self
.
options
[
'wrapper-dir'
].
strip
()
project
=
self
.
options
[
'project'
].
strip
()
lockfile
=
os
.
path
.
join
(
self
.
options
[
'home'
].
strip
(),
'app_install.lock'
)
fd
=
os
.
open
(
lockfile
,
os
.
O_RDWR
|
os
.
O_CREAT
)
os
.
close
(
fd
)
...
...
slapos/recipe/bonjourgrid/__init__.py
View file @
a1e0d3c4
...
...
@@ -101,6 +101,8 @@ class Recipe(GenericBaseRecipe):
middleware
=
type
)))
os
.
chmod
(
config_info_file
,
0744
)
path_list
.
append
(
config_info
)
update
=
install
class
Client
(
GenericBaseRecipe
):
...
...
stack/boinc/buildout.cfg
View file @
a1e0d3c4
...
...
@@ -34,7 +34,7 @@ eggs =
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-boinc.cfg
output = ${buildout:directory}/template-boinc.cfg
md5sum =
004691e9194eca2fa9cb1033094d3738
md5sum =
20e9e2276e3cbc6504bf065eabbe13a7
mode = 0644
#Template for deploying MySQL Database Server
...
...
stack/boinc/instance-boinc.cfg
View file @
a1e0d3c4
...
...
@@ -383,7 +383,7 @@ template-wu =
wu-number =
input-file =
# Default value if no domain is specified
domain =
domain =
# Default value if no ssh parameter is specified
logbox-ip =
logbox-port =
...
...
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