Commit 6579c572 authored by Nicolas Wavrant's avatar Nicolas Wavrant

Revert "runner: start proxy at launch time to configure slappart directory"

This reverts commit e409a496040a30358d0d5b27364cba912d5930a9.
parent c94d0a9b
...@@ -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, updateProxy, startProxy from slapos.runner.utils import runInstanceWithLock
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,8 +126,6 @@ def serve(config): ...@@ -126,8 +126,6 @@ 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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment