Przeglądaj źródła

Sleep before busting

Bob Mottram 7 lat temu
rodzic
commit
8298c57630
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2
    1
      src/freedombone-app-ghost

+ 2
- 1
src/freedombone-app-ghost Wyświetl plik

@@ -209,7 +209,8 @@ function upgrade_ghost {
209 209
     cd /var/www/$GHOST_DOMAIN_NAME/htdocs
210 210
 
211 211
     npm i -g ghost-cli
212
-    /usr/local/bin/ghost update
212
+    /usr/local/bin/ghost update &
213
+    sleep 200
213 214
     ghost_bust
214 215
 
215 216
     ghost_replace_services