Updating Ghost

Updating Ghost

curl -LOk https://ghost.org/zip/ghost-latest.zip  
mv ghost-latest.zip /tmp  
sudo -u nodejs -i  
cd /var/www/ghost  
unzip /tmp/ghost-latest.zip  
npm install --production # make sure it succeed  
exit # exit into normal user  
sudo systemctl restart ghost