PM2 (https://github.com/Unitech/pm2)

  • To install pm2 , type npm install pm2 -g.

  • To launch Ghost on your server do NODE_ENV=production pm2 start index.js --name "Ghost"

  • To stop Ghost pm2 stop Ghost.

  • To restart pm2 restart Ghost.

  • And to reload Ghost without downtime pm2 reload Ghost.

Deploying Ghost - Ghost SupportGhost Support

https://support.ghost.org/deploying-ghost/

If SELinux blocked Nginx to access port 2368, run the command below:

sudo semanage port -a -t http\_port\_t -p tcp 2368

https://linuxtoy.org/archives/selinux-introduction.html