Sfoglia il codice sorgente

sleep while cryptpad daemon starts

Bob Mottram 8 anni fa
parent
commit
0de1341a5f
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2
    0
      src/freedombone-app-cryptpad

+ 2
- 0
src/freedombone-app-cryptpad Vedi File

330
     systemctl daemon-reload
330
     systemctl daemon-reload
331
     systemctl start cryptpad.service
331
     systemctl start cryptpad.service
332
 
332
 
333
+    sleep 6
334
+
333
     if [ ! -d $CRYPTPAD_DIR/customize/api ]; then
335
     if [ ! -d $CRYPTPAD_DIR/customize/api ]; then
334
         mkdir -p $CRYPTPAD_DIR/customize/api
336
         mkdir -p $CRYPTPAD_DIR/customize/api
335
     fi
337
     fi