From 5e9468201ff29ce949ebc37f9b4f0daf1568a3ea Mon Sep 17 00:00:00 2001 From: qo-op Date: Sun, 29 Mar 2020 16:38:08 +0200 Subject: [PATCH] ssb ws 0.0.0.0 host --- .install/scuttlebutt.sh | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/.install/scuttlebutt.sh b/.install/scuttlebutt.sh index bb1b3ea..a0d2e41 100755 --- a/.install/scuttlebutt.sh +++ b/.install/scuttlebutt.sh @@ -76,12 +76,9 @@ scuttlebutt() { "net": [ { "scope": "public", "host": "0.0.0.0", "external": ["$nodename"], "transform": "shs", "port": 8008 } ], - "ws": [{ - "scope": ["public", "local", "device"], - "port": 8989, - "transform": "shs", - "http": true - }] + "ws": [ + { "scope": ["public", "local", "device"], "host": "0.0.0.0", "port": 8989, "transform": "shs", "http": true } + ] }, "outgoing": { "net": [{ "transform": "shs" }] @@ -113,17 +110,12 @@ ssb-server start & "connections": { "incoming": { "net": [ - { - "scope": "public", "external": ["$nodename"], "transform": "shs", "port": 8008 - }, + { "scope": "public", "external": ["$nodename"], "transform": "shs", "port": 8008 }, { "scope": "private", "host": "127.0.0.1", "transform": "shs", "port": 8008 } ], - "ws": [{ - "scope": ["public", "local", "device"], - "port": 8989, - "transform": "shs", - "http": true - }] + "ws": [ + { "scope": ["public", "local", "device"], "host": "0.0.0.0", "port": 8989, "transform": "shs", "http": true } + ] }, "outgoing": { "net": [ @@ -168,7 +160,9 @@ __)|_| \ \/ |_| \ || || |_ ... SCUTTLEBUTT ... OK? ' echo "DOES SCUTTELBUTT IS RUNNING FINE?" echo "Then add $HOME/.zen/run-ssb_server.sh & TO YOUR '/etc/rc.local' !!! " + echo "WAIT 10 seconds before ssb_INIT.sh" + sleep 10 $MY_PATH/zen/ssb_INIT.sh }