Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
Klaus Wölfel
slapos.toolbox
Commits
42e1e173
Commit
42e1e173
authored
Jan 28, 2014
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner: start proxy at launch time to configure slappart directory
parent
07eaa133
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
slapos/runner/__init__.py
slapos/runner/__init__.py
+3
-1
No files found.
slapos/runner/__init__.py
View file @
42e1e173
...
@@ -10,7 +10,7 @@ import os
...
@@ -10,7 +10,7 @@ import os
from
slapos.htpasswd
import
HtpasswdFile
from
slapos.htpasswd
import
HtpasswdFile
from
slapos.runner.process
import
setHandler
from
slapos.runner.process
import
setHandler
import
sys
import
sys
from
slapos.runner.utils
import
runInstanceWithLock
from
slapos.runner.utils
import
runInstanceWithLock
,
updateProxy
,
startProxy
from
slapos.runner.views
import
*
from
slapos.runner.views
import
*
TRUE_VALUES
=
(
1
,
'1'
,
True
,
'true'
,
'True'
)
TRUE_VALUES
=
(
1
,
'1'
,
True
,
'true'
,
'True'
)
...
@@ -126,6 +126,8 @@ def serve(config):
...
@@ -126,6 +126,8 @@ def serve(config):
if
not
os
.
path
.
exists
(
software_link
):
if
not
os
.
path
.
exists
(
software_link
):
os
.
mkdir
(
software_link
)
os
.
mkdir
(
software_link
)
setHandler
()
setHandler
()
startProxy
(
app
.
config
)
updateProxy
(
app
.
config
)
config
.
logger
.
info
(
'Running slapgrid...'
)
config
.
logger
.
info
(
'Running slapgrid...'
)
if
app
.
config
[
'auto_deploy_instance'
]
in
TRUE_VALUES
:
if
app
.
config
[
'auto_deploy_instance'
]
in
TRUE_VALUES
:
runInstanceWithLock
(
app
.
config
)
runInstanceWithLock
(
app
.
config
)
...
...
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