Bob Mottram 7 gadus atpakaļ
vecāks
revīzija
5866656ae2
1 mainītis faili ar 7 papildinājumiem un 1 dzēšanām
  1. 7
    1
      src/freedombone-app-datserver

+ 7
- 1
src/freedombone-app-datserver Parādīt failu

@@ -7,6 +7,9 @@
7 7
 #
8 8
 #                              Freedom in the Cloud
9 9
 #
10
+# The main issue here is bootstrapping. What is running
11
+# on the bootstrap server publicbits.org port 6881 ?
12
+#
10 13
 # License
11 14
 # =======
12 15
 #
@@ -231,7 +234,7 @@ function install_datserver {
231 234
         exit 4635439
232 235
     fi
233 236
 
234
-    if ! npm install lil-pids; then
237
+    if ! npm install lil-pids@2.6.1; then
235 238
         echo $'lil-pids was not installed'
236 239
         exit 36483463
237 240
     fi
@@ -246,6 +249,9 @@ function install_datserver {
246 249
         exit 9568356
247 250
     fi
248 251
 
252
+    # bootstrap servers are here:
253
+    # $DATSERVER_DIRECTORY/node_modules/datland-swarm-defaults/index.js
254
+
249 255
     chown -R datserver:datserver "$DATSERVER_DIRECTORY"
250 256
 
251 257
     firewall_add datserver $DATSERVER_PORT