示例#1
0
 def makeService(self, options):
     common.loadconfig(options)
     common.tweak_twisted()
     return MainService(config.interface_ip())
示例#2
0
 def makeService(self, options):
     didload = common.loadconfig(options)
     common.tweak_twisted()
     return MainService(config.interface_ip(), config.interface_index(), options['configfile'], didload)