added config option for using LAN transport
This commit is contained in:
parent
3aec35ef33
commit
9575352e3e
@ -164,8 +164,10 @@ def daemon():
|
|||||||
|
|
||||||
events.event('init', threaded=False)
|
events.event('init', threaded=False)
|
||||||
events.event('daemon_start')
|
events.event('daemon_start')
|
||||||
Thread(target=LANServer(shared_state).start_server, daemon=True).start()
|
if config.get('transports.lan', True):
|
||||||
LANManager(shared_state).start()
|
Thread(target=LANServer(shared_state).start_server,
|
||||||
|
daemon=True).start()
|
||||||
|
LANManager(shared_state).start()
|
||||||
communicator.startCommunicator(shared_state)
|
communicator.startCommunicator(shared_state)
|
||||||
|
|
||||||
clean_ephemeral_services()
|
clean_ephemeral_services()
|
||||||
|
@ -65,7 +65,8 @@
|
|||||||
},
|
},
|
||||||
"transports": {
|
"transports": {
|
||||||
"manual_disk": true,
|
"manual_disk": true,
|
||||||
"tor": true
|
"tor": true,
|
||||||
|
"lan": true
|
||||||
},
|
},
|
||||||
"ui": {
|
"ui": {
|
||||||
"theme": "dark"
|
"theme": "dark"
|
||||||
|
Loading…
Reference in New Issue
Block a user