nodejs-elasticsearch To start the process using PM2 use the following command: pm2 start app.js To restart the process using PM2 use the following command: pm2 restart app.js