|
@@ -1302,7 +1302,7 @@ function initialise_scuttlebot_pub {
|
1302
|
1302
|
fi
|
1303
|
1303
|
|
1304
|
1304
|
echo '{' > /etc/scuttlebot/.ssb/config
|
1305
|
|
- echo " \"host\": \"${HOSTNAME}\"," >> /etc/scuttlebot/.ssb/config
|
|
1305
|
+ echo " \"host\": \"$P{PEER_ID}.local\"," >> /etc/scuttlebot/.ssb/config
|
1306
|
1306
|
echo " \"port\": ${SCUTTLEBOT_PORT}," >> /etc/scuttlebot/.ssb/config
|
1307
|
1307
|
echo ' "allowPrivate": true,' >> /etc/scuttlebot/.ssb/config
|
1308
|
1308
|
echo ' "timeout": 30000,' >> /etc/scuttlebot/.ssb/config
|
|
@@ -1330,6 +1330,7 @@ function initialise_scuttlebot_pub {
|
1330
|
1330
|
ln -s /etc/nginx/sites-available/git_ssb /etc/nginx/sites-enabled/git_ssb
|
1331
|
1331
|
systemctl enable git_ssb.service
|
1332
|
1332
|
systemctl start git_ssb.service
|
|
1333
|
+
|
1333
|
1334
|
fi
|
1334
|
1335
|
}
|
1335
|
1336
|
|