run pm2 script node js code example Example: pm2 node start # only start will make it pm2 start app.js