Hi,
Based on these instructions from DO I am trying to restart Ghost (so the handlebar file changes shown) https://www.digitalocean.com/community/tutorials/how-to-configure-and-maintain-ghost-from-the-command-line
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. https://www.digitalocean.com/community/questions/ghost-start-and-stop-ubuntu-service-command
I am new to this so any help would be appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Login as root
sudo -i -u ghost-mgr cd /var/www/ghost/ ghost restart
Also can refer to my blog.
Login as root
sudo -i -u ghost-mgr cd /var/www/ghost/ ghost restart
Also can refer to my blog.