Bob Mottram 8 anos atrás
pai
commit
e50691d56e
1 arquivos alterados com 1 adições e 5 exclusões
  1. 1
    5
      src/freedombone-app-matrix

+ 1
- 5
src/freedombone-app-matrix Ver arquivo

@@ -173,7 +173,7 @@ function matrix_nginx {
173 173
     systemctl restart nginx
174 174
 
175 175
     # wait for nginx to start otherwise user add fails later
176
-    sleep 8
176
+    sleep 5
177 177
 }
178 178
 
179 179
 function matrix_generate_homeserver_file {
@@ -496,8 +496,6 @@ function install_identity_server {
496 496
     systemctl daemon-reload
497 497
     systemctl start sydent
498 498
 
499
-    sleep 4
500
-
501 499
     if [ ! -f /etc/sydent/sydent.db ]; then
502 500
         echo $'No matrix identity server database was created'
503 501
         exit 7354383
@@ -568,8 +566,6 @@ function install_home_server {
568 566
     systemctl daemon-reload
569 567
     systemctl start matrix
570 568
 
571
-    sleep 4
572
-
573 569
     if [ ! -f $MATRIX_DATA_DIR/homeserver.db ]; then
574 570
         echo $'No matrix home server database was created'
575 571
     fi