Commit 0eacd9cb authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Don't specify path for socat

So we can place a socat sooner in the path, with better capabilities.
parent 6911073f
......@@ -77,9 +77,9 @@ class Socat(protocol.ProcessProtocol):
def errReceived(self, data):
logging.warn('Socat complained: %s', data)
args = ['/usr/bin/socat', 'OPENSSL-LISTEN:' + str(master_config.getint('port')) + ',fork,backlog=50,key=' + master_config.get('key') + ',cert=' + master_config.get('cert') + ',verify=0,cipher=HIGH:!MEDIUM:!LOW:!aNULL,reuseaddr,pf=ip6', 'UNIX-CONNECT:./collect-master.sock']
args = ['socat', 'OPENSSL-LISTEN:' + str(master_config.getint('port')) + ',fork,backlog=50,key=' + master_config.get('key') + ',cert=' + master_config.get('cert') + ',verify=0,cipher=HIGH:!MEDIUM:!LOW:!aNULL,reuseaddr,pf=ip6', 'UNIX-CONNECT:./collect-master.sock']
logging.debug('Starting socat with: %s', args)
reactor.spawnProcess(Socat(), '/usr/bin/socat', args=args, env=os.environ)
reactor.spawnProcess(Socat(), 'socat', args=args, env=os.environ)
endpoint.listen(ClientFactory(plugins))
logging.info('Init done')
......
Supports Markdown
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