Ver código fonte

Sleep before busting

Bob Mottram 7 anos atrás
pai
commit
8298c57630
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      src/freedombone-app-ghost

+ 2
- 1
src/freedombone-app-ghost Ver arquivo

@@ -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