瀏覽代碼

Wait longer at end of cryptpad install

Bob Mottram 6 年之前
父節點
當前提交
3228552278
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/freedombone-app-cryptpad

+ 2
- 2
src/freedombone-app-cryptpad 查看文件

@@ -676,13 +676,13 @@ function install_cryptpad {
676 676
     systemctl daemon-reload
677 677
     systemctl start cryptpad.service
678 678
 
679
-    sleep 6
679
+    sleep 8
680 680
 
681 681
     cryptpad_generate_api_config
682 682
 
683 683
     # install again
684 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 687
     systemctl restart nginx
688 688