mirror of https://github.com/geohot/qira
should probably add the other ports to the config file at least
This commit is contained in:
parent
40416fefa0
commit
b12f529579
|
@ -69,7 +69,7 @@ if __name__ == '__main__':
|
|||
|
||||
# start the binary runner
|
||||
if args.server:
|
||||
qira_socat.start_bindserver(program, 4000, -1, 1, True)
|
||||
qira_socat.start_bindserver(program, qira_config.SOCAT_PORT, -1, 1, True)
|
||||
else:
|
||||
print "**** running "+program.program
|
||||
if is_qira_running or os.fork() == 0: # cute?
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
WITH_CDA = False
|
||||
WITH_DWARF = False
|
||||
TRACE_LIBRARIES = False
|
||||
WEB_PORT = 3002
|
||||
WEB_HOST = '127.0.0.1'
|
||||
WEB_PORT = 3002
|
||||
SOCAT_PORT = 4000
|
||||
FORK_PORT = 4001
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ def forkat(forknum, clnum, pending):
|
|||
qira_log.write_log("/tmp/qira_logs/"+str(next_run_id)+"_mods", dat)
|
||||
|
||||
if args.server:
|
||||
qira_socat.start_bindserver(program, 4001, forknum, clnum)
|
||||
qira_socat.start_bindserver(program, qira_config.FORK_PORT, forknum, clnum)
|
||||
else:
|
||||
if os.fork() == 0:
|
||||
program.execqira(["-qirachild", "%d %d %d" % (forknum, clnum, next_run_id)])
|
||||
|
|
Loading…
Reference in New Issue