How to use the delete function from pm2
Find comprehensive JavaScript pm2.delete code examples handpicked from public code repositorys.
GitHub: ryanlelek/Raneto
73 74 75 76 77 78 79 80 81 82
if (error) { console.log(`Raneto could not be stopped: ${error.msg}`); process.exit(1); } // (error, proc) pm2.delete('raneto', (error) => { if (error) { console.log(`Raneto could not be stopped: ${error.msg}`); process.exit(1); } else {
449
0
0
pm2.restart is the most popular function in pm2 (219 examples)