Sleep before busting

This commit is contained in:
Bob Mottram 2017-12-17 20:13:06 +00:00
parent 30cf9bb2e0
commit 8298c57630
1 changed files with 2 additions and 1 deletions

View File

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