ssb ws 0.0.0.0 host

This commit is contained in:
qo-op 2020-03-29 16:38:08 +02:00
parent a4c6fc79a4
commit 5e9468201f
1 changed files with 9 additions and 15 deletions

View File

@ -76,12 +76,9 @@ scuttlebutt() {
"net": [ "net": [
{ "scope": "public", "host": "0.0.0.0", "external": ["$nodename"], "transform": "shs", "port": 8008 } { "scope": "public", "host": "0.0.0.0", "external": ["$nodename"], "transform": "shs", "port": 8008 }
], ],
"ws": [{ "ws": [
"scope": ["public", "local", "device"], { "scope": ["public", "local", "device"], "host": "0.0.0.0", "port": 8989, "transform": "shs", "http": true }
"port": 8989, ]
"transform": "shs",
"http": true
}]
}, },
"outgoing": { "outgoing": {
"net": [{ "transform": "shs" }] "net": [{ "transform": "shs" }]
@ -113,17 +110,12 @@ ssb-server start &
"connections": { "connections": {
"incoming": { "incoming": {
"net": [ "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 } { "scope": "private", "host": "127.0.0.1", "transform": "shs", "port": 8008 }
], ],
"ws": [{ "ws": [
"scope": ["public", "local", "device"], { "scope": ["public", "local", "device"], "host": "0.0.0.0", "port": 8989, "transform": "shs", "http": true }
"port": 8989, ]
"transform": "shs",
"http": true
}]
}, },
"outgoing": { "outgoing": {
"net": [ "net": [
@ -168,7 +160,9 @@ __)|_| \ \/ |_| \ || || |_ ... SCUTTLEBUTT ... OK?
' '
echo "DOES SCUTTELBUTT IS RUNNING FINE?" echo "DOES SCUTTELBUTT IS RUNNING FINE?"
echo "Then add $HOME/.zen/run-ssb_server.sh & TO YOUR '/etc/rc.local' !!! " 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 $MY_PATH/zen/ssb_INIT.sh
} }