Browse Source

Wait longer at end of cryptpad install

Bob Mottram 6 years ago
parent
commit
3228552278
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone-app-cryptpad

+ 2
- 2
src/freedombone-app-cryptpad View File

676
     systemctl daemon-reload
676
     systemctl daemon-reload
677
     systemctl start cryptpad.service
677
     systemctl start cryptpad.service
678
 
678
 
679
-    sleep 6
679
+    sleep 8
680
 
680
 
681
     cryptpad_generate_api_config
681
     cryptpad_generate_api_config
682
 
682
 
683
     # install again
683
     # install again
684
     cd $CRYPTPAD_DIR || exit 73537453
684
     cd $CRYPTPAD_DIR || exit 73537453
685
-    su -c 'bower install' - cryptpad
685
+    su -c './node_modules/bower/bin/bower install --config.interactive=false' - cryptpad
686
 
686
 
687
     systemctl restart nginx
687
     systemctl restart nginx
688
 
688