How to restart Ghost

November 22, 2018 1.1k views
Ghost Ubuntu 18.04


Based on these instructions from DO I am trying to restart Ghost (so the handlebar file changes shown)

Step 1: logged into Console (via DO site)

Step 2: Tried at these directories
cd /var/www/ghost/content/themes/
cd /var/www/ghost/
cd /var/www/

Step 3: Trying this command
service ghost restart

also tried these

sudo service ghost stop
sudo service ghost start

then tried these

sudo systemctl restart ghost
sudo systemctl restart nginx

** getting this message
Failed to restart ghost.service: Unit ghost.service not found.

I then read that “ghost” is not a service per the thread below but the commands in this article didn’t work either.

I am new to this so any help would be appreciated.

1 Answer

Login as root

sudo -i -u ghost-mgr
cd /var/www/ghost/
ghost restart

Also can refer to my blog.

Have another answer? Share your knowledge.