[FIX] service: used default http port and net rpc port from config
bzr revid: hmo@tinyerp.com-20091126093155-k8wdgq4elnlk1aag
This commit is contained in:
@@ -187,7 +187,7 @@ def init_servers():
|
||||
global httpd, httpsd
|
||||
if tools.config.get_misc('httpd','enable', True):
|
||||
httpd = HttpDaemon(tools.config.get_misc('httpd','interface', ''), \
|
||||
tools.config.get_misc('httpd','port', 8069))
|
||||
tools.config.get_misc('httpd','port', int(tools.config.get('port',8069))))
|
||||
|
||||
if tools.config.get_misc('httpsd','enable', False):
|
||||
httpsd = HttpSDaemon(tools.config.get_misc('httpsd','interface', ''), \
|
||||
|
||||
@@ -160,4 +160,4 @@ def init_servers():
|
||||
global netrpcd
|
||||
if tools.config.get_misc('netrpcd','enable', True):
|
||||
netrpcd = TinySocketServerThread(tools.config.get_misc('netrpcd','interface', ''), \
|
||||
tools.config.get_misc('netrpcd','port', 8070))
|
||||
tools.config.get_misc('netrpcd','port', int(tools.config.get('netport', 8070))))
|
||||
|
||||
Reference in New Issue
Block a user