Commit f3bb31af authored by Jérome Perrin's avatar Jérome Perrin

testnode: use shorter supervisor socket ( WIP )

parent 1aa9fca2
......@@ -256,8 +256,11 @@ class SlapOSControler(object):
self.log('SlapOSControler, initialize, reset_software: %r' % reset_software)
config = self.config
slapos_config_dict = self.config.copy()
# TODO: use supervisord_socket if default is too long
slapos_config_dict.update(software_root=self.software_root,
instance_root=self.instance_root,
supervisord_socket="/tmp/supervisocket.socket",
proxy_database=self.proxy_database)
open(self.slapos_config, 'w').write(pkg_resources.resource_string(
'erp5.util.testnode', 'template/slapos.cfg.in') %
......
......@@ -4,8 +4,10 @@ instance_root = %(instance_root)s
master_url = %(master_url)s
computer_id = %(computer_id)s
root_check = False
supervisord_socket = %(supervisord_socket)s
[slapproxy]
host = %(proxy_host)s
port = %(proxy_port)s
database_uri = %(proxy_database)s
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